Advertisement
Membership
Login
ACCU Buttons
Search in Book Reviews
Search is a simple string search in either book title or book author. The full text search is a search of the text of the review.
- Networking in Java (basically java.net)
- Distributing Objects (why do it?, RMI, CORBA)
- Threads (multithreading applications)
- Security
- Message Passing Systems (fixed + adaptable protocols)
- Databases (JDBC)
The Threads chapter seems slightly inappropriate as the book assumes Java programming experience. I think it would be better referring to some other fuller treatment of multithreading.
The Message Passing chapter seems unnecessarily long. It also seems slightly dubious in advocating designing ones own protocol. The world seems full enough of protocols!
The Database chapter covers JDBC. The chapter explains how the programmer could simulate remote JDBC access using RMI if the JDBC driver does not support remote access. The JavaBeans specification seems to require that a JDBC driver should naturally provide access to remote databases. The chapter also mentions the programmer implementing his own caching mechanism. I find that slightly bizarre as the database and/or the JDBC driver should provide caching!
The examples are fair. However, there seem to be a lot of examples that fill the book up.
Niggles that I have with the coding style adopted in the book include:
there are no javadoc comments - I can't even remember an explanation explaining that all javadoc comments had been ripped out of the printed example for space reasons (unfortunately they are also missing from the online examples!) exceptions are sometimes caught and junked by use of:
catch (Exception e) {}
I don't like this because I think exceptions should generally be reported in some way or other. Either they should be thrown or at least have a System.err.println for debug purposes.- the following line of code is used frequently:
return success;
so the operation is successful? No, because 'success' is a Boolean that may be true or false! At the least I'd rather see 'succeeded'. System.out
is sometimes used for error reporting rather thanSystem.err
.- some methods are marked
throws IllegalArgumentException
. As this exception is subclassed fromRuntimeException
these throws are both unnecessary and not idiomatic - some
StreamTokenizer
processing is not robust, as it doesn't handle incorrectly formatted messages - the use of
System.out.println
calls to explain what is going on at run time rather than suitable '//' comments
I can't recommend the book in its current form.