Bruce Eckel's Thinking in Java | Contents | Prev | Next |
Inheritance: reusing the interface
Is-a vs. is-like-a relationships
Abstract base classes and interfaces
Collection libraries and support for easy collection use
Server-side programming
A separate arena: applications
Phase 2: How will we build it?
You must create all the objects
Comments and embedded documentation
@see: referring to other classes
Common pitfalls when using operators
Explicit static initialization
Non-static instance initialization
Catching base constructor exceptions
Extending an interface with inheritance
Initializing fields in interfaces
Inner classes in methods and scopes
Referring to the outer class object
Can inner classes be overridden?
Why inner classes: control frameworks
Behavior of polymorphic methods inside constructors
Downcasting and run-time type identification
Making a type-conscious Vector
Properties: a type of Hashtable
The generic collection library
Synchronizing a Collection or Map
Performing cleanup with finally
Writing to an OutputStream with FilterOutputStream
4. Line numbering and file output
6. Reading and writing random access files
8. Formatted file output shorthand
The Java archive (jar) utility
An alternative to Externalizable
Reflection: run-time class information
Adding cloneability to a class
Implementing the Cloneable interface
Adding cloneability further down a hierarchy
Overloading ‘+’ and the StringBuffer
Demonstrating the framework methods
Packaging the applet into a JAR file
Separating business logic from UI logic
Implementing the main class as a listener
Extracting BeanInfo with the Introspector
Threading for a responsive interface
Deadlock
Step 2: Configure the database
Step 3: Test the configuration
Step 4: Generate your SQL query
Step 5: Modify and paste in your query
Why the JDBC API seems so complex
Implementing the remote interface
A pattern for prototyping creation
Parsing Trash from an external file
Accessing and writing the listings
Containing the entire collection of listings
Name mangling and function signatures
Using a pre-existing code base
Applying @dll.import to the entire class
Function return codes in COM: HRESULT
Developing COM servers in Java
Developing COM clients in Java
A note about native methods and applets
Implementing the server and the client
Activating the name service process
Activating the server and the client
C: Java programming guidelines
Tips for measuring performance