Please consider the latest edition.
-
Chapter 1 Why Networked Java?
-
What Can a Network Program Do?
-
But Wait!—There's More!
-
-
Chapter 2 Basic Network Concepts
-
Networks
-
The Layers of a Network
-
IP, TCP, and UDP
-
The Internet
-
The Client/Server Model
-
Internet Standards
-
-
Chapter 3 Basic Web Concepts
-
URIs
-
HTML, SGML, and XML
-
HTTP
-
MIME
-
CGI
-
Applets and Security
-
-
Chapter 4 Java I/O
-
Output Streams
-
Input Streams
-
Filter Streams
-
Readers and Writers
-
-
Chapter 5 Threads
-
Running Threads
-
Returning Information from a Thread
-
Synchronization
-
Deadlock
-
Thread Scheduling
-
Thread Pools
-
-
Chapter 6 Looking Up Internet Addresses
-
DNS, IP Addresses, and All That
-
The InetAddress Class
-
Some Useful Programs
-
-
Chapter 7 Retrieving Data with URLs
-
The URL Class
-
The URLEncoder and URLDecoder Classes
-
Communicating with CGIs and Servlets Through GET
-
Accessing Password-Protected Sites
-
-
Chapter 8 HTML in Swing
-
HTML on Components
-
JEditorPane
-
Parsing HTML
-
-
Chapter 9 The Network Methods of java.applet.Applet
-
Using java.applet.Applet to Download Data
-
The ImageObserver Interface
-
The MediaTracker Class
-
Network Methods of java.applet.AppletContext
-
-
Chapter 10 Sockets for Clients
-
Socket Basics
-
Investigating Protocols with Telnet
-
The Socket Class
-
Socket Exceptions
-
Examples
-
-
Chapter 11 Sockets for Servers
-
The ServerSocket Class
-
Some Useful Servers
-
-
Chapter 12 Secure Sockets
-
Secure Communications
-
Creating Secure Client Sockets
-
Methods of the SSLSocket Class
-
Creating Secure Server Sockets
-
Methods of the SSLServerSocket Class
-
-
Chapter 13 UDP Datagrams and Sockets
-
The UDP Protocol
-
The DatagramPacket Class
-
The DatagramSocket Class
-
Some Useful Applications
-
-
Chapter 14 Multicast Sockets
-
What Is a Multicast Socket?
-
Working with Multicast Sockets
-
Two Simple Examples
-
-
Chapter 15 The URLConnection Class
-
Opening URLConnections
-
Reading Data from a Server
-
Reading the Header
-
Configuring the Connection
-
Configuring the Client Request MIME Header
-
Writing Data to a Server
-
Content Handlers
-
The Object Methods
-
Security Considerations for URLConnections
-
Guessing MIME Types
-
HttpURLConnection
-
JarURLConnection
-
-
Chapter 16 Protocol Handlers
-
What Is a Protocol Handler?
-
The URLStreamHandler Class
-
Writing a Protocol Handler
-
More Protocol Handler Examples and Techniques
-
The URLStreamHandlerFactory Interface
-
-
Chapter 17 Content Handlers
-
What Is a Content Handler?
-
The ContentHandler Class
-
The ContentHandlerFactory Interface
-
A Content Handler for an Image Format: image/x-fits
-
-
Chapter 18 Remote Method Invocation
-
What Is Remote Method Invocation?
-
Implementation
-
Loading Classes at Runtime
-
The java.rmi Package
-
The java.rmi.registry Package
-
The java.rmi.server Package
-
-
Chapter 19 The JavaMail API
-
What Is the JavaMail API?
-
Sending Email
-
Receiving Mail
-
Password Authentication
-
Addresses
-
The URLName Class
-
The Message Class
-
The Part Interface
-
Multipart Messages and File Attachments
-
MIME Messages
-
Folders
-
-
Colophon
- Title:
- Java Network Programming, Second Edition
- By:
- Elliotte Rusty Harold
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- August 2000
- Pages:
- 760
- Print ISBN:
- 978-1-56592-870-1
- | ISBN 10:
- 1-56592-870-9
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, Second Edition, is a North American river otter (Lutra canadensis). These small carnivores are found in all major waterways of the United States and Canada, 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. A diving 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. Beverly Goldfarb was the copyeditor for Java Network Programming, Second Edition. Deborah English was the proofreader. Jeffrey Holcomb, Sarah Jane Shangraw, and Claire Cloutier performed quality control reviews. Nancy Crumpton wrote the index. Interior composition was done by Claire Cloutier, Sarah Jane Shangraw, Molly Shangraw, and Joan McGaw.
The image on the cover of this book is a river otter. The cover was designed by Emma Colby using a series design by Edie Freeman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. Alicia Cech and David Futato designed the interior layout. The text was produced in FrameMaker 5.5.6 using a template implemented by Mike Sierra. The heading font is Bodoni BT; the text font is New Baskerville. The illustrations that appear in the book were created in Macromedia Freehand 8 and Adobe Photoshop 5 by Robert Romano and Rhon Porter. This colophon was written by Leanne Soylemez.
Whenever possible, our books use a durable and flexible lay-flat binding. If the page count exceeds the lay-flat binding limit, perfect binding is used.
