Please consider the latest edition.
-
Chapter 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
-
-
Chapter 2 A First Application
-
HelloJava
-
HelloJava2: The Sequel
-
HelloJava3: The Button Strikes!
-
HelloJava4: Netscape's Revenge
-
-
Chapter 3 Tools of the Trade
-
The Java Interpreter
-
The Classpath
-
Policy Files
-
The Java Compiler
-
Java Archive (JAR) Files
-
-
Chapter 4 The Java Language
-
Text Encoding
-
Comments
-
Types
-
Statements and Expressions
-
Exceptions
-
Assertions
-
Arrays
-
-
Chapter 5 Objects in Java
-
Classes
-
Methods
-
Object Creation
-
Object Destruction
-
-
Chapter 6 Relationships Among Classes
-
Subclassing and Inheritance
-
Interfaces
-
Packages and Compilation Units
-
Visibility of Variables and Methods
-
Arrays and the Class Hierarchy
-
Inner Classes
-
-
Chapter 7 Working with Objects and Classes
-
The Object Class
-
The Class Class
-
Reflection
-
-
Chapter 8 Threads
-
Introducing Threads
-
Threading an Applet
-
Synchronization
-
Scheduling and Priority
-
Thread Groups
-
Thread Performance
-
-
Chapter 9 Working with Text
-
Other Text-Related APIs
-
Strings
-
Parsing and Formatting Text
-
Internationalization
-
The java.text Package
-
Regular Expressions
-
-
Chapter 10 Core Utilities
-
Math Utilities
-
Dates
-
Timers
-
Collections
-
Properties
-
The Preferences API
-
The Logging API
-
Observers and Observables
-
-
Chapter 11 Input/Output Facilities
-
Streams
-
Files
-
Serialization
-
Data Compression
-
The NIO Package
-
-
Chapter 12 Network Programming
-
Sockets
-
Datagram Sockets
-
Simple Serialized Object Protocols
-
Remote Method Invocation
-
Scaleable I/O with NIO
-
-
Chapter 13 Programming for the Web
-
Uniform Resource Locators (URLs)
-
The URL Class
-
Handlers in Practice
-
-
Chapter 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
-
-
Chapter 15 Swing
-
Components
-
Containers
-
Events
-
Event Summary
-
The AWT Robot!
-
Multithreading in Swing
-
-
Chapter 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
-
-
Chapter 17 More Swing Components
-
Text Components
-
Focus Navigation
-
Trees
-
Tables
-
Desktops
-
Pluggable Look-and-Feel
-
Creating Custom Components
-
-
Chapter 18 Layout Managers
-
FlowLayout
-
GridLayout
-
BorderLayout
-
BoxLayout
-
CardLayout
-
GridBagLayout
-
Nonstandard Layout Managers
-
Absolute Positioning
-
SpringLayout
-
-
Chapter 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
-
-
Chapter 20 Working with Images and Other Media
-
ImageObserver
-
MediaTracker
-
Producing Image Data
-
Filtering Image Data
-
Simple Audio
-
Java Media Framework
-
-
Chapter 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
-
-
Chapter 22 Applets
-
The Politics of Applets
-
The JApplet Class
-
The <APPLET> Tag
-
Using the Java Plug-in
-
Java Web Start
-
Using Digital Signatures
-
-
Chapter 23 XML
-
A Bit of Background
-
XML Basics
-
SAX
-
DOM
-
Validating Documents
-
XSL/XSLT
-
Web Services
-
-
Appendix A Content and Protocol Handlers
-
Writing a Content Handler
-
Writing a Protocol Handler
-
-
Appendix B BeanShell: Simple Java Scripting
-
Running BeanShell
-
Java Statements and Expressions
-
BeanShell Commands
-
Scripted Methods and Objects
-
Changing the Classpath
-
Learning More ...
-
-
Glossary
-
Colophon
- Title:
- Learning Java, Second Edition
- By:
- Patrick Niemeyer, Jonathan Knudsen
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- July 2002
- Pages:
- 832
- Print ISBN:
- 978-0-596-00285-5
- | ISBN 10:
- 0-596-00285-8
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animals on the cover ofLearning Java, Second Edition, are a Bengal tigress and her cubs. The Bengal tiger (Panthera tigris) lives in Southern Asia where it has been hunted practically to extinction principally for its bone, which is reputed to have medicinal value. It now lives mostly in natural preserves and national parks where it is strictly protected. It's estimated that there are less than 3,000 Bengal tigers left in the wild.
The Bengal tiger is reddish orange with narrow black, gray, or brown stripes, generally in a vertical direction. Males can grow to nine feet long and weigh as much as 500 pounds; they are the largest existing members of the cat family. Preferred habitats include dense thickets, long grass, or tamarisk shrubs along river banks. Maximum longevity can be 26 years but is usually only about 15 years in the wild.
Tigers most commonly conceive after the monsoon rains; the majority of cubs are born between February and May after a gestation of three and a half months. Females bear single litters every two to three years. Cubs weigh under three pounds at birth and are striped. Litters consist of one to four cubs, with occasionally as many as six, but it's unusual for more than two or three to survive. Cubs are weaned at four to six months but depend on their mother for food and protection for another two years. Female tigers are mature at three to four years, males at four to five years.
Their white ear spots may help mothers and cubs to keep track of each other in the dim forests at night. Mary Anne Weeks Mayo was the production editor, and Leanne Soylemez copyedited select chapters for Learning Java, Second Edition. Matt Hutchinson and Jane Ellin provided quality control. Phil Dangler provided production assistance. Ellen Troutman-Zaig wrote the index.
Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original engraving from the book Forest and Jungle: An Illustrated History of the Animal Kingdom by P.T. Barnum (1899). Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. David Futato designed the CD-ROM label.
Melanie Wang designed the interior layout, based on a series design by David Futato. Neil Walls converted the files from Microsoft Word to FrameMaker 5.5.6 using tools created by Mike Sierra. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was compiled by Mary Anne Weeks Mayo.
