Search -
Java Network Programming: A Complete Guide to Networking, Streams, and Distributed Computing
Java Network Programming A Complete Guide to Networking Streams and Distributed Computing Author:Michael Shoffner, Derek Hamner 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 spec... more »ific 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.« less