Books & Videos

Table of Contents

  1. Learning Java

    1. Chapter 1 Java Basics

      1. Hello World
      2. FizzBuzz
      3. The Fibonacci Series
      4. Using Command-Line Arguments
      5. Echo in Reverse
      6. FizzBuzz Switched
      7. Computing Factorials
      8. Recursive Factorials
      9. Caching Factorials
      10. Computing Big Factorials
      11. Handling Exceptions
      12. Interactive Input
      13. Using a StringBuffer
      14. Sorting Numbers
      15. Computing Primes
      16. Exercises
    2. Chapter 2 Objects, Classes, and Interfaces

      1. A Rectangle Class
      2. Testing the Rect Class
      3. A Rect Subclass
      4. Another Subclass
      5. Complex Numbers
      6. Computing Statistics
      7. An Integer List
      8. Tokenizing Text
      9. Exercises
  2. Core Java APIs

    1. Chapter 3 Input/Output

      1. Files and Streams
      2. Working with Files
      3. Copying File Contents
      4. Reading and Displaying Text Files
      5. Listing Directory and File Information
      6. Compressing Files and Directories
      7. Filtering Character Streams
      8. Tokenizing a Character Stream
      9. Random Access to Files
      10. Exercises
    2. Chapter 4 Threads

      1. Thread Basics
      2. Thread-Safe Classes
      3. Threads and Thread Groups
      4. Deadlock
      5. Timers
      6. Exercises
    3. Chapter 5 Networking

      1. Downloading the Contents of a URL
      2. Using a URLConnection
      3. Sending Email Through a URLConnection
      4. A Simple Network Client
      5. A Generic Client
      6. An HTTP Client
      7. A POP Client
      8. A Simple Web Server
      9. A Proxy Server
      10. A Generic Multithreaded Server
      11. Sending Datagrams
      12. Receiving Datagrams
      13. Exercises
    4. Chapter 6 New I/O

      1. Locking Files
      2. Copying Files
      3. Regular Expressions and Character Decoding
      4. File Copying with Buffers
      5. Advanced Byte-to-Character Conversion
      6. Tokenizing Byte Buffers
      7. A Simple HTTP Client
      8. The Daytime Service
      9. A Multiplexed Server
      10. A Multiplexed Network Client
      11. Exercises
    5. Chapter 7 Security and Cryptography

      1. Running Untrusted Code
      2. Loading Untrusted Code
      3. Message Digests and Digital Signatures
      4. Cryptography
      5. Exercises
    6. Chapter 8 Internationalization

      1. A Word About Locales
      2. Unicode
      3. Character Encodings
      4. Handling Local Customs
      5. Localizing User-Visible Messages
      6. Formatted Messages
      7. Exercises
    7. Chapter 9 Reflection

      1. Obtaining Class and Member Information
      2. Invoking a Named Method
      3. Proxy Objects
      4. Exercises
    8. Chapter 10 Object Serialization

      1. Simple Serialization
      2. Custom Serialization
      3. Externalizable Classes
      4. Serialization and Class Versioning
      5. Exercises
  3. Desktop Java APIs

    1. Chapter 11 Graphical User Interfaces

      1. Components
      2. Containers
      3. Layout Management
      4. Event Handling
      5. A Complete GUI
      6. Actions and Reflection
      7. Custom Dialogs
      8. An Error Handler Dialog
      9. Displaying Tables
      10. Displaying Trees
      11. A Simple Web Browser
      12. Describing GUIs with Properties
      13. Themes and the Metal Look-and-Feel
      14. Look-and-Feel Preferences
      15. The ShowBean Program
      16. Exercises
    2. Chapter 12 Graphics

      1. Graphics Before Java 1.2
      2. The Java 2D API
      3. Drawing and Filling Shapes
      4. Transforms
      5. Line Styles with BasicStroke
      6. Stroking Lines
      7. Filling Shapes with Paint
      8. Antialiasing
      9. Combining Colors with AlphaComposite
      10. Image Processing
      11. Image I/O
      12. Custom Shapes
      13. Custom Strokes
      14. Custom Paint
      15. Advanced Animation
      16. Displaying Graphics Examples
      17. Exercises
    3. Chapter 13 Printing

      1. Printing with the Java 1.1 API
      2. Printing with the Java 1.2 API
      3. Printing with the Java 1.4 API
      4. Printing Multipage Text Documents
      5. Advanced Printing with Java 1.4
      6. Exercises
    4. Chapter 14 Data Transfer

      1. Simple Swing Data Transfer
      2. A Clock with Drag and Copy Support
      3. Data Transfer Architecture
      4. Dropping Multiple Datatypes
      5. A Transferable Shape
      6. Custom Data Transfer
      7. Exercises
    5. Chapter 15 JavaBeans

      1. Bean Basics
      2. A Simple Bean
      3. A More Complex Bean
      4. Custom Events
      5. Specifying Bean Information
      6. Defining a Simple Property Editor
      7. Defining a Complex Property Editor
      8. Defining a Bean Customizer
      9. Manipulating Beans
      10. Exercises
    6. Chapter 16 Applets

      1. Introduction to Applets
      2. A First Applet
      3. A Clock Applet
      4. A Timer Applet
      5. Applets and the Java 1.0 Event Model
      6. Exercises
    7. Chapter 17 Sound

      1. Ringing the Bell
      2. Swing Aural Cues
      3. Playing Sounds with AudioClip
      4. Playing Sounds with javax.sound
      5. Streaming Sounds with javax.sound
      6. Synthesizing a MIDI Sequence
      7. Real-Time MIDI Sounds
      8. Exercises
  4. Enterprise Java APIs

    1. Chapter 18 Database Access with SQL

      1. Accessing a Database
      2. Using Database Metadata
      3. Building a Database
      4. Using the API Database
      5. Atomic Transactions
      6. Exercises
    2. Chapter 19 XML

      1. Parsing with JAXP and SAX
      2. Parsing and Manipulating with JAXP and DOM
      3. Transforming XML with XSLT
      4. An XML Pull Parser
      5. Exercises
    3. Chapter 20 Servlets and JavaServer Pages

      1. Servlet Setup
      2. A Hello World Servlet
      3. Another Simple Servlet
      4. Servlet Initialization and Persistence: A Counter Servlet
      5. Hello JSP
      6. Hello JSP2
      7. Hello XML
      8. The MVC Paradigm for Web Applications
      9. ListManager Model Classes
      10. ListManager Controller
      11. ListManager Views
      12. Custom Tags in JSP 2.0
      13. Packaging a Web Application
      14. Exercises
    4. Chapter 21 Remote Method Invocation

      1. Remote Banking
      2. A Bank Server
      3. A Persistent Bank Server
      4. A Multiuser Domain
      5. Remote MUD Interfaces
      6. The MUD Server
      7. The MudPlace Class
      8. The MudPerson Class
      9. A MUD Client
      10. Advanced RMI
      11. Exercises
    5. Chapter 22 Example Index

      1. Symbols
      2. A
      3. B
      4. C
      5. D
      6. E
      7. F
      8. G
      9. H
      10. I
      11. J
      12. K
      13. L
      14. M
      15. N
      16. O
      17. P
      18. Q
      19. R
      20. S
      21. T
      22. U
      23. V
      24. W
      25. X
      26. Y
      27. Z
  1. Colophon