REVIEW - Java Network Programming


Title:

Java Network Programming

Author:

Elliotte Rusty Harold

Publisher:

O'Reilly (1997)

Pages:

422pp

Reviewer:

Al Lines

Reviewed:

June 1998

Rating:

★★★☆☆


The only downside of the current edition is that it only fully deals with Java 1.0.2, despite what the back cover says. The current Java network reference to compare the others against.

One of the great beauties of the Java language is the amount of support supplied without having to resort to either language extensions or third party libraries. One is the networking support and it is this that the book covers, albeit only Java 1.0.2. Some details of the 1.1 version (at the timethe book was written) are given. Part of the problem with any Java book is that the language changes quite rapidly. Or is it just another way for publishers to sell more books...

The network programming referred to is both inter-process-communication familiar to many UNIX programmers and Internet programming (applets, etc). No prior knowledge of network programming is assumed, although the author does state that the reader should be familiar with Java programming and use of the AWT. The basic terms are then introduced, along with HHTP, MIME, etc. and any other associated RFCs that may be of use.

Having established the basics, you move quickly into some applications. These are small and, unlike examples often given, of real use! With the examples you quickly appreciate the networking power of Java. For example, to perform a lookup on an Internet address (name or IP) you use the

INetAddress
class. This has methods of
getByName
and
getByAddr
just like the UNIX equivalents. Unlike the UNIX versions you do not need to define the same complex structure to make use of it. The same applies to making a TCP connection. Combine this with built-in exception handling for any errors, e.g. the IP address does not exist etc. and you quickly have a working application that is robust - without lots of your own error (prone) handling. The result? Better code.

The only downside of the current edition is that it only fully deals with Java 1.0.2, despite what the back cover says. The current Java network reference to compare the others against.


Book cover image courtesy of Open Library.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.