The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version |
Location |
Description |
Submitted by |
Date submitted |
Printed |
Page 30
2nd sentence (1st paragraph continued from prev. page) |
the URL is listed jdbc:msql://carthage.-.imaginay.com/ora
I am guessing it should be:
jdbc:msql://carthage.imaginay.com/ora
|
Anonymous |
|
Printed |
Page 110
Line 8 of last code example |
"Ball()"
should be
"BallImpl()"
|
Anonymous |
|
Printed |
Page 111
6th paragraph |
It says:
The final step in making the BallImpl class distributed is to run the RMI compiler,
rmic, against it. In this case, run rmic using the following command line:
rmic BallImpl
The following line of codes explains the usage of rmic when the class is part of a
package, but here is the mistake:
rmic -d classdir baseball.Ball
But we are trying to make BallImpl distributed, not Ball, its predecesor!
Moreover, it says in the last paragraphs that 2 classes will be generated:
Ball_Skel.class (the skeleton) and Ball_Stub.class (the stub). I think the classes
generated should be:
BallImpl_Skel.class and BallImpl_Stub.class
|
Anonymous |
|
Printed |
Page 160
4th line |
retrieving the password from the result set:
it says: actual = rs.getString(1);
instead of: actual = rs.getString(2);
|
Anonymous |
|
Printed |
Page 187
function getCurrent |
If the Identifier id is null, a new trans object is created, and a null reference is assigned to trans.userID. I assume null should
not be used as a HashMap key, so a new trans is created again. Moreover, the null id is used as a key for the HashMap.
What is the logic behind that? Am I making a wrong assumption that a null object should not be used as a key?
|
Anonymous |
|
Printed |
Page 199
top code listing |
Should
private void bind(PreparedStatement stmt, int ind, Iterator bindings) throws
FindException, SQLException {
....
if (val instanceof SearchCriteria) {
SearchCriteria sc = (SearchCriteria) val;
bind(stmt, ind, sc.bindings());
....
be instead
private int bind(PreparedStatement stmt, int ind, Iterator bindings) throws
FindException, SQLException {
....
if (val instanceof SearchCriteria) {
SearchCriteria sc = (SearchCriteria) val;
ind = bind(stmt, ind, sc.bindings());
....
|
Anonymous |
|