Java Network Programming 2nd Edition



A complete guide to networking, streams and distributed computing.

This is the best and most up-to-date book to focus specifically on the Java 2 Platform's networking abilities, in all their various forms. Providing a thorough grounding in, and complete reference to, the Java technologies that are fundamental to network programming, with a specific focus on streams, the book then proceeds to detail how to implement robust, real-world Java-based network applications.

The book begins with a complete discussion of Java streams, covering not only the concept behind and API of streams but also, more importantly, how to customize and extend the streams for your own purposes. All the standard Java streams are covered, including byte streams, character streams and the object streams. The importance of streams is stressed throughout the book, with later customized streams for parsing DNS records, HTTP requests, sending HTTP responses, etc.

In the subsequent networking chapters, the book proceeds to cover the TCP/IP and UDP/IP networking protocols in depth, with many examples of network clients and servers including a DNS client, finger client, Web server and various chat systems, among others. It then details how to use multicast for efficient multiparty communications, and provides extensive details of the Java URL API including example URL handlers for accessing various Internet protocols.

Following this is a thorough description if the RMI, CORBA and Servlet networking APIs, and how these can be used to develop distributed and Web-based network systems. As a yardstick for comparing the different technologies, an example of a distributed list datastructure is implemented thrice, with sockets, RMI and servlets.

Finally, the book wraps up by combining custom streams and networking into a complex, comprehensive example: message streams that allow multiple network applications to be seamlessly and transparently multiplexed down a single network connection, while automatically hiding problems such as network delays or even failures.

What is perhaps most impressive about this book is the wealth of up-to-date, real-world applications provided, showing how to properly develop extensible network systems using the Java 2 platform. These applications go far beyond the simple examples of other texts available, demonstrating how to effectively harness Java's different APIs into coherent, complex systems. Source for the examples is available online at the author's Website.
From the Back Cover
The first edition of this book was acclaimed by readers as an outstanding networking reference (see last page inside). It provided complete details of the Java platform's support for networking and I/O with extensive API coverage and sophisticated examples.

With over 300 new pages, this second edition is further strengthened with complete coverage of Java 2 and new material on custom URL-related factories, Java I/O, RMI, Servlets and CORBA. To make room for this new material, first-edition sections on Java cryptography have been omitted. Java Network Programming goes will beyond simple examples to show how to develop robust, efficient real-world applications.

What's Inside

* Introduction to networking and Internet protocols

* Complete coverage of the Java networking and I/O APIs

* Details of multithreading and exception handling

* Byte, character, object and message streams

* IP, TCP, UDP, Multicast, HTTP, DNS, RMI, CORBA and Servlets

* Finger, DNS, HTTP and Ping clients and servers

* Multiprotocol chat systems and whiteboards

http://www.mediafire.com/?qzyay5yo0c5

0 comments:

Post a Comment

 
Copyright © Download Free Ebooks