Java Network Programming, 2nd Edition
||Author: Elliotte Rusty Harold|
List Price: $39.95
Our Price: Click to see the latest and low price
Publisher: O'Reilly & Associates (01 August, 2000)
Sales Rank: 45,462
Average Customer Rating: 3.73 out of 5
Customer ReviewsRating: 4 out of 5
An Excellent Choice
I read this book and really enjoyed it. It is easy to read, and has lots of useful code. I like all books written by this author. If you like this book, then you should try his book on JAVA and XML. That book is well written. I would recommend this networking book to anyone who wants to learn JAVA and Networking. Some LAN experience or a networking course will help you. Buy this book -- it is worth an investment!!!
Rating: 3 out of 5
Network Programming Book with Few Network Topics...
Java Network Programming is a great topic and very challenging to write about. In the past decade, Client Server and Networking where the most popular topics in the industry.
Initially, Java was not an Internet/Web language oriented. Later versions, the language migrated into a more network oriented and became the language of choice among financial institutions, and others, because of its high productivity capabilities (mainly, shorter development curve.)
Here are a few points that I'd like to make concerning this book:
1.The authors took on themselves a very large assignment, rather than reducing the scope of the book, so they could deal efficiently with the content and represent it in more technical details and depth, just as O'Reilly publication does so often. The variety of topics discussed in the book could be topics for books themselves, such as Web Concepts, Threads, Java I/O...
2.A few topics are not directly affiliated with Networking, such as Threads, Java Mail API, etc. I was surprised to find the "HTML in Swing" chapter, which is a total shift from the Networking Layer to the Presentation Layer.
3.The book is missing important and advanced topics in Networking, such as IIOP, Distributed Objects, EJB and maybe CORBA. I was surprised to find a chapter about RMI - an old form of distributed objects, which was replaced by IIOP and EJB in recent years. RMI was combined with IIOP (RMI/IIOP) because its poor performance. Why would anyone want to study an old topic?
4.This book is lacking of a conceptual discussion about Networking Layers in general, to help users understand why with Java, Network Programming could be a piece of cake... Conceptually speaking, indeed, with Java it's a much easier task.
5.The bright spot here are the samples that are almost in a "copy and paste" condition. They are easy to understand and implement.
Rating: 1 out of 5
Misapprehensions and misinformation. Avoid.
Avoid. This book appears to have quite a reputation, but despite being in its 2nd edition, it is riddled with errors. The book exhibits some fundamental misapprehensions about TCP/IP; as a result it perpetrates some astonishing misinformation, much of it quite basic. Partial list: the nature of a socket close operation; what IOException when closing a socket means; what happens when the listen backlog is exceeded; specification of the ServerSocket constructors; Nagle's algorithm (Socket.setTcpNoDelay); linger; keepalive; etc etc.
Of the examples which do work, the PortScanner and LocalPortScanner are provided in versions which perpetrate atrocities on the local machine and network by not closing sockets. Multi-homing very cursorily treated, not even indexed. Firewalls apparently treated in one page. Role of TTL in multicast apparently ignored.
The text is verbose and repetitive, and a number of the examples are irrelevant. Fully 50% of the Sockets for Servers chapter consists of a rather irrelevant excursion into HTTP and HTML; the examples have bugs, not that they have much point. Also, what pray have HTML rendering and parsing in Swing got to do with networking? 30 irrelevant pages on this; nice to have, but why here?
Author seems to think HotSpot is a JIT. Typos in the index, not encouraging. Many impending JDK 1.4 enhancements will shortly obsolete this book. Avoid it. For TCP/IP and UDP fundamentals, buy W.R. Stevens Unix Network Programming. -
· Java RMI
· Java Threads, Second Edition
· TCP/IP Sockets in Java: Practical Guide for Programmers
· Java(TM) Network Programming and Distributed Computing
· Java I/O (O'Reilly Java)