Buying Options
Java Network Programming, Third Edition
Print $39.95
Add to Cart
Print+Ebook $43.95
Add to Cart
Ebook $31.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £30.50
Add to Cart
What is this?

Product Editions

  1. Java Network Programming, Third Edition - October 2004
  2. Java Network Programming, Second Edition - August 2000
  3. Java Network Programming - January 1997 (out of print)
Description
Thoroughly revised to cover all the 100+ significant updates to Java Developers Kit (JDK) 1.5, Java Network 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 protocol and content handlers, servlets, and the new I/O API. This is the essential resource for any serious Java developer.
Full Description
Table of Contents
  1. Chapter 1 Why Networked Java?

    1. What Can a Network Program Do?

    2. Security

    3. But Wait! There's More!

  2. Chapter 2 Basic Network Concepts

    1. Networks

    2. The Layers of a Network

    3. IP, TCP, and UDP

    4. The Internet

    5. The Client/Server Model

    6. Internet Standards

  3. Chapter 3 Basic Web Concepts

    1. URIs

    2. HTML, SGML, and XML

    3. HTTP

    4. MIME Media Types

    5. Server-Side Programs

  4. Chapter 4 Streams

    1. Output Streams

    2. Input Streams

    3. Filter Streams

    4. Readers and Writers

  5. Chapter 5 Threads

    1. Running Threads

    2. Returning Information from a Thread

    3. Synchronization

    4. Deadlock

    5. Thread Scheduling

    6. Thread Pools

  6. Chapter 6 Looking Up Internet Addresses

    1. The InetAddress Class

    2. Inet4Address and Inet6Address

    3. The NetworkInterface Class

    4. Some Useful Programs

  7. Chapter 7 URLs and URIs

    1. The URL Class

    2. The URLEncoder and URLDecoder Classes

    3. The URI Class

    4. Proxies

    5. Communicating with Server-Side Programs Through GET

    6. Accessing Password-Protected Sites

  8. Chapter 8 HTML in Swing

    1. HTML on Components

    2. JEditorPane

    3. Parsing HTML

    4. Cookies

  9. Chapter 9 Sockets for Clients

    1. Socket Basics

    2. Investigating Protocols with Telnet

    3. The Socket Class

    4. Socket Exceptions

    5. Socket Addresses

    6. Examples

  10. Chapter 10 Sockets for Servers

    1. The ServerSocket Class

    2. Some Useful Servers

  11. Chapter 11 Secure Sockets

    1. Secure Communications

    2. Creating Secure Client Sockets

    3. Methods of the SSLSocket Class

    4. Creating Secure Server Sockets

    5. Methods of the SSLServerSocket Class

  12. Chapter 12 Non-Blocking I/O

    1. An Example Client

    2. An Example Server

    3. Buffers

    4. Channels

    5. Readiness Selection

  13. Chapter 13 UDP Datagrams and Sockets

    1. The UDP Protocol

    2. The DatagramPacket Class

    3. The DatagramSocket Class

    4. Some Useful Applications

    5. DatagramChannel

  14. Chapter 14 Multicast Sockets

    1. What Is a Multicast Socket?

    2. Working with Multicast Sockets

    3. Two Simple Examples

  15. Chapter 15 URLConnections

    1. Opening URLConnections

    2. Reading Data from a Server

    3. Reading the Header

    4. Configuring the Connection

    5. Configuring the Client Request HTTP Header

    6. Writing Data to a Server

    7. Content Handlers

    8. The Object Methods

    9. Security Considerations for URLConnections

    10. Guessing MIME Content Types

    11. HttpURLConnection

    12. Caches

    13. JarURLConnection

  16. Chapter 16 Protocol Handlers

    1. What Is a Protocol Handler?

    2. The URLStreamHandler Class

    3. Writing a Protocol Handler

    4. More Protocol Handler Examples and Techniques

    5. The URLStreamHandlerFactory Interface

  17. Chapter 17 Content Handlers

    1. What Is a Content Handler?

    2. The ContentHandler Class

    3. The ContentHandlerFactory Interface

    4. A Content Handler for the FITS Image Format

  18. Chapter 18 Remote Method Invocation

    1. What Is Remote Method Invocation?

    2. Implementation

    3. Loading Classes at Runtime

    4. The java.rmi Package

    5. The java.rmi.registry Package

    6. The java.rmi.server Package

  19. Chapter 19 The JavaMail API

    1. What Is the JavaMail API?

    2. Sending Email

    3. Receiving Mail

    4. Password Authentication

    5. Addresses

    6. The URLName Class

    7. The Message Class

    8. The Part Interface

    9. Multipart Messages and File Attachments

    10. MIME Messages

    11. Folders

  1. Colophon

View Full Table of Contents
Product Details
Title:
Java Network Programming, Third Edition
By:
Elliotte Rusty Harold
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
October 2004
Ebook Release:
February 2009
Pages:
768
Print ISBN:
978-0-596-00721-8
| ISBN 10:
0-596-00721-3
Ebook ISBN:
978-0-596-10451-1
| ISBN 10:
0-596-10451-0
Customer Reviews
About the Author
  1. Elliotte Rusty Harold

    Elliotte Rusty Harold is originally from New Orleans to which he returns periodically in search of a decent bowl of gumbo. However, he currently resides in the University Town Center neighborhood of Irvine with his wife Beth, dog Shayna, and cats Charm (named after the quark) and Marjorie (named after his mother-in-law). He's an adjunct professor of computer science at Polytechnic University where he teaches Java, XML, and object oriented programming. He's a frequent speaker at industry conferences including Software Development, Dr. Dobb's Architecure & Design World, SD Best Practices, Extreme Markup Languages, and too many user groups to count. His open source projects include the XOM Library for processing XML with Java and the Amateur media player.

    View Elliotte Rusty Harold's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Java Network Programming, Third Edition, is a North American river otter (Lutra canadensis). These small carnivores are found in all major waterways of the United States and Canada, and in almost every habitat except the tundra and the hot, dry regions of the southwestern U.S. They weigh about 20 pounds and are approximately two and a half feet long, and females tend to be about a third smaller than males. Their diet consists mainly of aquatic animals like fish and frogs, but since they spend about two-thirds of their time on land, they also eat the occasional bird or rodent. Two layers of fur--a coarse outer coat and a thick, dense inner coat--protect a river otter from the cold, and, in fact, they seem to enjoy playing in snow and ice. When diving, a river otter's pulse rate slows to only 20 beats per minute from its normal 170, conserving oxygen and allowing the otter to stay underwater longer. These animals are sociable and domesticated easily, and in Europe, a related species was once trained to catch fish for people to eat. Colleen Gorman was the production editor and copyeditor for Java Network Programming, Third Edition. Sada Preisch proofread the book. Sarah Sherman and Claire Cloutier provided quality control. Mary Agner provided production assistance.John Bickelhaupt wrote the index.

Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Clay Fernald produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.

David Futato designed the interior layout. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand MX and Adobe Photoshop CS. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Leanne Soylemez.

  • Book cover of Java Network Programming