Learning Java, 2nd Edition
Table of Contents
1. You must know the following chapters (by now):
1. Yet Another Language?
Enter Java
A Virtual Machine
Java Compared with Other Languages
Safety of Design
Safety of Implementation
Application and User-Level Security
Java and the Web
Java as a General Application Language
A Java Road Map
2. A First Application
HelloJava
HelloJava2: The Sequel
HelloJava3: The Button Strikes!
HelloJava4: Netscape's Revenge
3. Tools of the Trade
The Java Interpreter
The Classpath
Policy Files
The Java Compiler
Java Archive (JAR) Files
4. The Java Language
Text Encoding
Comments
Types
Statements and Expressions
Exceptions
Assertions
Arrays
5. Objects in Java
Classes
Methods
Object Creation
Object Destruction
6. Relationships Among Classes
Subclassing and Inheritance
Interfaces
Packages and Compilation Units
Visibility of Variables and Methods
Arrays and the Class Hierarchy
Inner Classes
2. Study Chapters for Fall 2003
7. Working with Objects and Classes
The Object Class
The Class Class
Reflection
8. Threads
Introducing Threads
Threading an Applet
Synchronization
Scheduling and Priority
Thread Groups
Thread Performance
10. Core Utilities
Math Utilities
Dates
Timers
Collections
Properties
The Preferences API
The Logging API
Observers and Observables
11. Input/Output Facilities
Streams
Files
Serialization
Data Compression
The NIO Package
13. Programming for the Web
Uniform Resource Locators (URLs)
The URL Class
Handlers in Practice
14. Servlets and Web Applications
Servlets: Powerful Tools
Web Applications
The Servlet Life cycle
Web Servlets
The HelloClient Servlet
The Servlet Response
Servlet Parameters
The ShowParameters Servlet
User Session Management
The ServletContext API
WAR Files and Deployment
Reloading WebApps
Error and Index Pages
Security and Authentication
Servlet Filters
Building WAR Files with Ant
15. Swing
Components
Containers
Events
Event Summary
The AWT Robot!
Multithreading in Swing
16. Using Swing Components
Buttons and Labels
Checkboxes and Radio Buttons
Lists and Combo Boxes
The Spinner
Borders
Menus
The PopupMenu Class
The JScrollPane Class
The JSplitPane Class
The JTabbedPane Class
Scrollbars and Sliders
Dialogs
17. More Swing Components
Text Components
Focus Navigation
Trees
Tables
Desktops
Pluggable Look-and-Feel
Creating Custom Components
18. Layout Managers
FlowLayout
GridLayout
BorderLayout
BoxLayout
CardLayout
GridBagLayout
Nonstandard Layout Managers
Absolute Positioning
SpringLayout
19. Drawing with the 2D API
The Big Picture
The Rendering Pipeline
A Quick Tour of Java 2D
Filling Shapes
Stroking Shape Outlines
Using Fonts
Displaying Images
Drawing Techniques
Printing
20. Working with Images and Other Media
ImageObserver
MediaTracker
Producing Image Data
Filtering Image Data
Simple Audio
Java Media Framework
21. JavaBeans
What's a Bean?
The NetBeans IDE
Properties and Customizers
Event Hookups and Adapters
Binding Properties
Building Beans
Limitations of Visual Design
Serialization Versus Code Generation
Customizing with BeanInfo
Hand-Coding with Beans
BeanContext and BeanContextServices
The Java Activation Framework
Enterprise JavaBeans
23. XML
A Bit of Background
XML Basics
SAX
DOM
Validating Documents
XSL/XSLT
Web Services