My Account
View Cart
Home
Community
Books & Videos
Safari Books Online
Conferences
Training
School of Technology
About
Complete List
Bestsellers
New Releases
Rough Cuts
Upcoming Titles
Ebooks
By Publisher
By Series
Out of Print
Order Info
Search
Search Tips
Tell a friend
Java Network Programming, Third Edition
By
Elliotte Rusty Harold
October 2004
Pages: 760
|
Table of Contents
|
Index
|
Sample Chapter
|
Colophon
Table of Contents
Chapter 1
Why Networked Java?
What Can a Network Program Do?
Security
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 Media Types
Server-Side Programs
Chapter 4
Streams
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
The InetAddress Class
Inet4Address and Inet6Address
The NetworkInterface Class
Some Useful Programs
Chapter 7
URLs and URIs
The URL Class
The URLEncoder and URLDecoder Classes
The URI Class
Proxies
Communicating with Server-Side Programs Through GET
Accessing Password-Protected Sites
Chapter 8
HTML in Swing
HTML on Components
JEditorPane
Parsing HTML
Cookies
Chapter 9
Sockets for Clients
Socket Basics
Investigating Protocols with Telnet
The Socket Class
Socket Exceptions
Socket Addresses
Examples
Chapter 10
Sockets for Servers
The ServerSocket Class
Some Useful Servers
Chapter 11
Secure Sockets
Secure Communications
Creating Secure Client Sockets
Methods of the SSLSocket Class
Creating Secure Server Sockets
Methods of the SSLServerSocket Class
Chapter 12
Non-Blocking I/O
An Example Client
An Example Server
Buffers
Channels
Readiness Selection
Chapter 13
UDP Datagrams and Sockets
The UDP Protocol
The DatagramPacket Class
The DatagramSocket Class
Some Useful Applications
DatagramChannel
Chapter 14
Multicast Sockets
What Is a Multicast Socket?
Working with Multicast Sockets
Two Simple Examples
Chapter 15
URLConnections
Opening URLConnections
Reading Data from a Server
Reading the Header
Configuring the Connection
Configuring the Client Request HTTP Header
Writing Data to a Server
Content Handlers
The Object Methods
Security Considerations for URLConnections
Guessing MIME Content Types
HttpURLConnection
Caches
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 the FITS Image Format
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
Return to
Java Network Programming