Java Platform Overview
Strings and Characters
Numbers and Math
Dates and Times
Types, Reflection, and Dynamic Loading
Files and Directories
Input and Output Streams
Chapter 2, "Java Syntax from the Ground Up", and Chapter 3, "Object-Oriented Programming in Java", documented the Java programming language. This chapter switches gears and covers the Java platform, which is the vast collection of predefined classes available to every Java program, regardless of the underlying host system on which it is running. The classes of the Java platform are collected into related groups, known as packages. This chapter begins with an overview of the packages of the Java platform that are documented in this book. It then moves on to demonstrate, in the form of short examples, the most useful classes in these packages.
Table 4-1 summarizes the key packages of the Java platform that are covered in this book.
The JavaBeans component model for reusable, embeddable software components.
Table 4-1 does not list all the packages in the Java platform, only those documented in this book. Java also defines numerous packages for graphics and graphical user interface programming and for distributed, or enterprise, computing. The graphics and GUI packages are java.awt and javax.swing and their many subpackages. These packages, along with the java.applet package, are documented in Java Foundation Classes in a Nutshell (O'Reilly). The enterprise packages of Java include java.rmi, java.sql, javax.jndi, org.omg.CORBA, org.omg.CosNaming, and all of their subpackages. These packages, as well as several standard extensions to the Java platform, are documented in the book Java Enterprise in a Nutshell (O'Reilly).
Copyright © 2001 O'Reilly & Associates. All rights reserved.