Java Network Programming, Third Edition
|
| List Price: | $39.95 |
| Price: | $26.37 & eligible for FREE Super Saver Shipping on orders over $25. Details |
Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com
55 new or used available from $10.50
Average customer review:Product Description
"Java Network Programming," 3rd Edition includes chapters on TCP and UDP sockets, multicasting protocol and content handlers, servlets, multithreaded network programming, I/O, HTML parsing and display, the Java Mail API, and the Java Secure Sockets Extension. There's also significant information on the New I/O API that was developed in large part because of the needs of network programmers.
This invaluable book is a complete, single source guide to writing sophisticated network applications. Packed with useful examples, it is the essential resource for any serious Java developer.
Product Details
- Amazon Sales Rank: #98500 in Books
- Published on: 2004-10
- Original language: English
- Number of items: 1
- Binding: Paperback
- 504 pages
Features
- ISBN13: 9780596007218
- Condition: USED - VERY GOOD
- Notes:
- Click here to view our Condition Guide and Shipping Prices
Editorial Reviews
Amazon.com Review
Does this sound familiar? You know Java well enough to write standalone applets and applications, even multithreaded ones, but you know next to nothing about the language's networking capabilities. And guess what--your next job is to write a network-centric Java program. Java Network Programming serves as an excellent introduction to network communications generally and in Java. The book opens with information on network architectures and protocols and the security restrictions placed on applets. Quickly, the author gets to the meat of networked Java with a complete elucidation of the InetAddress class, the URL-related classes, applet-specific networking methods, and sockets. The author also covers packets, Remote Method Invocation (RMI), and servlets.
The one serious shortcoming of this book is that it does not include a companion disk, which is the case with most O'Reilly books. You'll have to visit the publisher's FTP site for the code if you dislike typing the examples manually. On the whole, though, this is an excellent tutorial that will guide you through the world of Java networking as smoothly as possible.
From the Publisher
The network is the soul of Java. Most of what is new and exciting about Java centers around the potential for new kinds of dynamic, networked applications. Java Network Programming describes the java.net package, which contains classes for communications and working with networked resources. It is a complete introduction to developing network programs (both applets and applications) using Java, covering everything from networking fundamentals to remote method invocation (RMI). Whether you're an experienced network programmer, or just want to see what's possible, you'll find Java Network Programming is a thorough guide to Java's networking potential. It covers Java 1.1, contains many complete programs (available online), and covers all aspects of basic network programming. You'll find chapters on TCP and UDP sockets, multicasting protocol and content handlers, and servlets, part of the new Server API. It also covers what you can do without explicitly writing newtork code: how you can accomplish your goals using URLs and the basic capabilities of applets.
About the Author
0321150406AB08272003
Customer Reviews
Great Intro to Networking with Java
I love this book. Absolutely love it. One of the great things here is the tie in of network programming with java's IO classes. Networking in Java is IO, and this book explains it upfront.
The overviews of IO and Threading in the first couple of chapters can really solidify these topics if you are sketchy on them. The rest of the book is dedicated to going over the .net classes & explaining each one, providing in depth/useful examples for each.
The appendix of the book give a good enough overview of RMI & JavaMail, more than enough to get you going using either package.
While this is not a book for total beginners, if you need to learn the .net package, or want to take your Java skills to the network, buy this book!
In-depth API coverage
The value of this book is in the depth of the coverage it gives to every topic. As opposed to the usual code fragments glued together with the necessary minimum of expository text, this book takes it's time to explain topics in detail. It's clear that in it's third revision the author has learned how to teach the Java network APIs.
Topics covered include both client and server code with sockets and UDP, non-blocking I/O, and protocol and content handlers, as well as many others. This is very in-depth, very well written with effective use of graphics. And better yet you will learn about the protocols themselves as well as the APIs.
This is an outstanding book, easily the best book, on the Java network APIs.
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. -




