Books & Videos

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