好书推介:java的秘密!

Chapter 1—Introducing Java SECRETS
A Little Knowledge Can Be a Dangerous Thing
Part III: Platform-Dependent Java
Where Did the Secrets Come From?
What Versions of Java Are Covered?
Java is supposed to be platform independent
Why aren’t these things documented?
FUD (fear, uncertainty, and doubt)
Chapter 2—Primitive Data Types
Variables, Values, and Identifiers
Representing floating-point numbers in binary code
Denormalized floating-point numbers
Chapter 2—Primitive Data Types
Variables, Values, and Identifiers
Representing floating-point numbers in binary code
Denormalized floating-point numbers
Chapter 3—Classes, Strings, and Arrays
Pointers, Handles, and References
Chapter 4—The Java Virtual Machine
Using Mnemonics in the Disassembler
Threads: monitorenter and monitorexit
Chapter 6—Threads and Garbage Collection
Cooperative versus preemptive threads
Native versus emulated threads
Generational garbage collection
Including applets in non-applets
Better main() methods for applets
Loading Applets from Web Pages
Chapter 8—Introducing the Sun Classes
Put the classes you use on your Web server
Distribute the classes with your application
Checking for the presence of the sun classes
Checking for methods and fields
Chapter 9—Using the sun.applet Classes to View Applets
The AppletPanel and AppletViewerPanel Classes
Chapter 10—Controlling Audio Playback with sun.audio
Chapter 11—Controlling the AWT with the sun.awt Package
Aligning Objects with the sun.awt LayoutManagers
Chapter 12—Encoding and Decoding Data with the sun.misc Package
The CharacterEncoder and CharacterDecoder Classes
Chapter 13—Network Servers and Clients in the sun.net Package
The sun.net.NetworkServer Class
The sun.net.NetworkClient class
The TransferProtocolClient class
Subclassing TransferProtocolClient
Chapter 14—Sending Mail with the sun.net.smtp Package
Chapter 15—Reading News via NNTP with the sun.net.nntp Package
Creating NewsGroupInfo objects
Opening a connection to the server
Chapter 16—Transferring Files with the sun.net.ftp Package
Overview of the sun.net.ftp Package
Chapter 17—Communicating with Web Servers
Tracking Downloads: Metered Streams
sun.net.www.httpd and the BasicHttpServer
Part III—Platform-Dependent Java
Chapter 18—Character Conversion with sun.io
Chapter 19—Mixed Language Programming with Native Methods
The Java Native Method Interface
Returning primitive values from native methods
Passing primitive data type arguments to native methods
Using Objects in Native Methods
Passing arguments to Java methods
Using strings in native methods
Using arrays in native methods
Accessing fields from native methods
Static methods and fields in native methods
Errors and exceptions in native methods
Garbage collection and native methods
Determining at Runtime Whether Native Code Is Available
Chapter 20—Creating Stand-Alone Programs
Writing Stand-Alone Programs for UNIX
Creating Stand-alone Programs for the MacOS
The Macintosh Runtime for Java