Java Network Programming

Elliotte Rusty Harold

Publisher: O'Reilly, 1997, 422 pages

ISBN: 1-56592-227-1

Keywords: Java, Networks

Last modified: June 1, 2021, 10:32 a.m.

Writing network programs in Java is easy — easier than in any other programming environment available today. However, most Java programmers have yet to take advantage of Java's networking capabilities. Most have limited themselves to relatively simple applets. That's unfortunate, because, as Java Network Programming show, once you start taking advantage of Java's networking features, the possibilities are limited only by your imagination.

Java Networking Programming is a complete introduction to developing network programs (both applets and applications) using Java, covering everything from networking fundamentals to remote method invocation (RMI). It includes chapters on TCP and UDP sockets, multicasting protocols and content handlers, and servlets, part of the new Server API. Java Network Programming also covers what you can do without explicitly writing network code: how you can accomplish your goals using URLs and the basic capabilities of applets.

Whether you're an experienced network programmer, or just want to see what's possible, you'll find Java Network Programming is a complete guide to Java's networking potential.

  • Covers Java 1.1
  • Contains many complete programs (available online)
  • Covers all aspects of basic network programming
  • Introducing advanced topics, including RMI, multicasting, and servlets
  1. Why Networked Java?
    • What Can a Network Program Do?
    • But Wait, There's More!
  2. Basic Network Concepts
    • Network
    • IP, TCP, and UDP
    • The Internet
    • The Client-Server Model
    • Internet Standards: RFCs
  3. Basic Web Concepts
    • URLs, URIs, and URNs
    • HTML and SGML
    • HTTP
    • MIME
    • CGI
    • Applets and Security
  4. Processing Internet Addresses
    • DNS, UIP Addresses, and All That
    • The InetAddress Class
    • Converting IP Addresses to Names
    • Some Useful Programs
  5. Retrieving Data with URLs
    • The URL Class
    • The URLEncoder Class
    • Some Useful Programs
  6. The Network Methods of java.applet.Applet
    • Using the Applet Class to Download Data
    • The ImageObserver Interface
    • The MediaTracker Class
    • The Network Methods of the AppletContext Interface
    • Some Useful Programs
  7. Sockets for Clients
    • What Is a Socket?
    • The Socket Class
    • Socket Exceptions
    • Some Useful Programs
  8. Sockets for Servers
    • What Is a Server Socket?
    • The ServerSocket Class
    • Some Useful Servers
  9. UDP Datagrams and Sockets
    • What Is a UDP Datagram?
    • The DatagramPacket Class
    • The Datagram Socket Class
    • A Higher Level of Abstraction
    • Some Useful Applications
  10. The URL Connection Class
    • The URLConnection Class
    • Some Useful Programs
  11. Protocol Handlers
    • What Is a Protocol Handler?
    • Writing a URLStreamHandler
    • Writing a Protocol Handler
    • Factories for URLStreamHandler
    • More Protocol Handler Examples and Techniques
  12. Content Handlers
    • What Is a Content Handler?
    • The ContentHandler Class
    • Factories fore ContentHandlers
    • Some More Content Handlers
  13. Multicast Sockets
    • What Is a Multicast Socket?
    • Working with Multicast Sockets
    • Two Simple Examples
  14. Remote Method Invocation
    • What Is Remote Method Invocation?
    • Implementation
    • The java.rmi Package
    • The java.rmi.registry Package
    • the java.rmi.server Package
  15. The Java Server API and Servlets
    • What Is the Java Server API?
    • Writing Servlets
    • The java.servlet Package
    • The java.servlet.http Package

Reviews

Java Network Programming

Reviewed by Roland Buresund

Mediocre **** (4 out of 10)

Last modified: Nov. 15, 2008, 11:07 a.m.

Sigh, just another network programming book. This time it is about Java. Big deal.

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required

captcha

required