Books & Videos

Table of Contents

  1. Chapter 1 Why Networked Java?

    1. What Can a Network Program Do?

    2. 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

    5. CGI

    6. Applets and Security

  4. Chapter 4 Java I/O

    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. DNS, IP Addresses, and All That

    2. The InetAddress Class

    3. Some Useful Programs

  7. Chapter 7 Retrieving Data with URLs

    1. The URL Class

    2. The URLEncoder and URLDecoder Classes

    3. Communicating with CGIs and Servlets Through GET

    4. Accessing Password-Protected Sites

  8. Chapter 8 HTML in Swing

    1. HTML on Components

    2. JEditorPane

    3. Parsing HTML

  9. Chapter 9 The Network Methods of java.applet.Applet

    1. Using java.applet.Applet to Download Data

    2. The ImageObserver Interface

    3. The MediaTracker Class

    4. Network Methods of java.applet.AppletContext

  10. Chapter 10 Sockets for Clients

    1. Socket Basics

    2. Investigating Protocols with Telnet

    3. The Socket Class

    4. Socket Exceptions

    5. Examples

  11. Chapter 11 Sockets for Servers

    1. The ServerSocket Class

    2. Some Useful Servers

  12. Chapter 12 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

  13. Chapter 13 UDP Datagrams and Sockets

    1. The UDP Protocol

    2. The DatagramPacket Class

    3. The DatagramSocket Class

    4. Some Useful Applications

  14. Chapter 14 Multicast Sockets

    1. What Is a Multicast Socket?

    2. Working with Multicast Sockets

    3. Two Simple Examples

  15. Chapter 15 The URLConnection Class

    1. Opening URLConnections

    2. Reading Data from a Server

    3. Reading the Header

    4. Configuring the Connection

    5. Configuring the Client Request MIME Header

    6. Writing Data to a Server

    7. Content Handlers

    8. The Object Methods

    9. Security Considerations for URLConnections

    10. Guessing MIME Types

    11. HttpURLConnection

    12. 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 an Image Format: image/x-fits

  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