Java Reference
In-Depth Information
Package
Provides support to
java.applet
java.awt
Create programs (applets) that are easily transported across the Web.
Draw graphics and create graphical user interfaces;
AWT stands for Abstract Windowing Toolkit.
java.beans
Define software components that can be easily combined
into applications.
java.io
Perform a wide variety of input and output functions.
General support; it is automatically imported into all Java programs.
java.lang
java.math
java.net
Perform calculations with arbitrarily high precision.
Communicate across a network.
java.rmi
Create programs that can be distributed across multiple computers;
RMI stands for Remote Method Invocation.
java.security 
Enforce security restrictions.
java.sql
Interact with databases;
SQL stands for Structured Query Language.
java.text
Format text for output.
General utilities.
java.util
javax.swing
Create graphical user interfaces with components that extend
the AWT capabilities.
javax.xml.parsers
Process XML documents; XML stands for eXtensible Markup Language.
FIGURE 3.2 Some packages in the Java standard class library
Figure 3.2 describes some of the packages that are part of the Java standard
class library. These packages are available on any platform that supports Java
software development. Some of these packages support highly specific pro-
gramming techniques and will not come into play in the development of basic
programs.
Various classes of the Java API are discussed throughout this topic. For conve-
nience we include in the topic some documentation (like Figure 3.2) on the classes
we'll use, but it's also very important for you to know how to get more information
about the Java API classes. The online Java API documentation is an invaluable
resource for any Java programmer. It is a Web site that contains pages on each class
in the standard Java API, listing and describing the methods in each one.
Figure 3.3 shows one page of this documentation. Links on the side allow you
to examine particular packages and jump to particular classes. Take some time
 
Search WWH ::




Custom Search