Java Network Programming 2nd Edition

Java Network ProgrammingFree download Java Network Programming Second Edition in PDF written by Elliotte Rusty Harold and published by O’Reilly.

According to the Author, “Java™’s growth over the last five years has been nothing short of phenomenal. Given Java’s rapid rise to prominence and the general interest in networking, it’s a little surprising that network programming in Java is still so mysterious to so many. This doesn’t have to be. In fact, writing network programs in Java is quite simple, as this book will show. Readers with previous experience in network programming in a Unix, Windows, or Macintosh environment should be pleasantly surprised at how much easier it is to write equivalent programs in Java. That’s because the Java core API includes well-designed interfaces to most network features. Indeed, there is very little application layer network software you can write in C or C++ that you can’t write more easily in Java. Java Network Programming endeavors to show you how to take advantage of Java’s network class library to quickly and easily write programs that accomplish many common networking tasks.

Java is the first language to provide such a powerful cross-platform network library that handles all these diverse tasks. Java Network Programming exposes the power and sophistication of this library. This book’s goal is to enable you to start using Java as a platform for serious network programming. To do so, this book provides a general background in network fundamentals as well as detailed discussions of Java’s facilities for writing network programs. You’ll learn how to write Java applets and
applications that share data across the Internet for games, collaboration, software updates, file transfer and more. You’ll also get a behind-the-scenes look at HTTP, CGI, TCP/IP, and the other protocols that support the Internet and the Web. When you finish this book, you’ll have the knowledge and the tools to create the next generation of software that takes full advantage of the Internet.

This book has come a long way too. The second edition has been rewritten almost from scratch. There are five completely new chapters, some of which reflect new APIs and abilities of Java introduced since the first edition was published (Chapter 8, Chapter 12, and Chapter 19 ), and some of which reflect my greater experience in teaching this material and noticing exactly where students’ trouble spots are (Chapter 4, and Chapter 5). However, much more important than the added and deleted chapters are the changes inside the chapters that we kept. The most obvious change to the first edition is that all of the examples have been rewritten with the Java 1.1 I/O API. The deprecation messages that tormented readers who compiled the first edition’s examples using Java 1.1 or later are now a thing of the past. Less obviously, but far more importantly, all the examples have been rewritten from the ground up to use clean, object-oriented design that follows Java’s naming conventions and design principles. Like almost everyone (Sun not excepted), I was still struggling to figure out a lot of the details of just what one did with Java and how one did it when I wrote the first edition in 1996. The old examples got the network code correct, but in most other respects they now look embarrassingly amateurish. I’ve learned a lot about both Java and object-oriented programming since then, and I think my increased experience shows in this edition. For just one example, I no longer use standalone applets where a simple frame-based application would suffice. I hope that the new examples will serve as models not just of how to write network programs, but also of how to write Java code in general. 

Table of Contents

  1. Why Networked Java?
  2. Basic Network Concepts
  3. Basic Web Concepts
  4. Java I/O
  5. Threads
  6. Looking Up Internet Addresses
  7. Retrieving Data with URLs
  8. HTML in Swing
  9. The Network Methods of java.applet.Applet
  10. Sockets for Clients
  11. Sockets for Servers
  12. Secure Sockets
  13. UDP Datagrams and Sockets
  14. Multicast Sockets
  15. The URL Connection Class
  16. Protocol Handlers
  17. Content Handlers
  18. Remote Method Invocation
  19. The JavaMail API

Free download Java Network Programming Second Edition in PDF written by Elliotte Rusty Harold from following download links.

Download Link 1

Download Link 2


File Size: 2.5 MB                     Pages: 620                      Please Read Disclaimer

Don’t forget to drop a comment below after downloading this book.

Note: If download links are not working, kindly drop a comment below, so we’ll update the download link for you

Happy downloading!

Also Available: Java Network Programming and Distributed Computing 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.