Wednesday, October 21, 2009

Section 9.1. Common Java SE API Libraries







Part II: Platform

Java Platform, SE


Development Basics


Basic Input and Output


Java Collections Framework


Generics Framework


Concurrency


Memory Management


The Java Scripting API


Third-Party Tools


UML Basics



Chapter 9. Java Platform, SE

The Java Platform, Standard Edition includes the Java Runtime Environment (JRE) and its encompassing Java Development Kit (JDK) (see Chapter 10), the Java Programming Language, Java Virtual Machines (JVMs), tools/utilities, and the Java SE API libraries; see Figure 9-1.

Figure 9-1. Java Platform, SE



9.1. Common Java SE API Libraries

Java SE API 6 standard libraries are provided within packages of which there are more than 200 available. Each package is made up of classes and/or interfaces. An abbreviated list of commonly used packages is represented here.

9.1.1. Language and Utility Libraries


java.lang

Language support; system/math methods, fundamental types, strings, threads, and exceptions


java.lang.annotation

Annotation framework; metadata library support


java.lang.instrument

Program instrumentation; agent services to instrument JVM programs


java.lang.management

Java Management Extensions API; JVM monitoring and management


java.lang.ref

Reference-object classes; interaction support with the GC


java.lang.reflect

Reflective information about classes and objects


java.util

Utilities; collections, event model, date/time, and international support


java.util.concurrent

Concurrency utilities; executors, queues, timing, and synchronizers


java.util.concurrent.atomic

Atomic toolkit; lock-free thread-safe programming on single variables


java.util.concurrent.locks

Locking framework; locks and conditions


java.util.jar

Java Archive file format; reading and writing


java.util.logging

Logging; failures, errors, performance issues, and bugs


java.util.prefs

User and system preferences; retrieval and storage


java.util.regex

Regular expressions; char sequences matched to patterns


java.util.zip

ZIP and GZIP file formats; reading and writing

9.1.2. Base Libraries


java.applet

Applet Framework; embeddable window and control methods


java.beans.beancontext

Bean context; containers for beans, run environments


java.beans

Beans; components based on JavaBeans™, long-term persistence


java.io

Input/Output; through data streams, the filesystem, and serialization


java.math

Mathematics; extra large integer and decimal arithmetic


java.net

Networking; TCP, UDP, sockets, and addresses


java.nio.channels

Channels for I/O; selectors for non-blocking I/O


java.nio.charset

Characters sets; translation between bytes and Unicode


java.nio

High performance I/O; buffers, memory mapped files


java.text

Text utilities; text, dates, numbers, and messages


javax.annotation

Annotation types; library support


javax.management

JMX API; application configuration, statistics, and state changes


javax.net.ssl

Secured sockets layer; error detection, data encryption/ authentication


javax.net

Networking; socket factories


javax.tools

Program invoked tool interfaces; compilers, file managers

9.1.3. Integration Libraries


java.sql

Standard Query Language; access and processing data source information


javax.jws.soap

Java web services; SOAP bindings and message parameters


javax.jws

Java web services; supporting annotation types


javax.naming.directory

Directory services; Java Naming and Directory Interface (JNDI) operations for directory-stored objects


javax.naming.event

Event services; JNDI event notification operations


javax.naming.ldap

Lightweight Directory Access Protocol v3; operations and controls


javax.naming

Naming services; JNDI


javax.script

Scripting language support; integration, bindings, and invocations


javax.sql.rowset.serial

Serializable mappings; between SQL types and data types


javax.sql.rowset

Java Database Connectivity (JDBC) Rowset; standard interfaces


javax.sql

Standard Query Language; database APIs and server-side capabilities


javax.transactions.xa

XA Interface; transaction and resource manager contracts for JTA

9.1.4. User Interface Libraries: Miscellaneous


javax.accessibility

Accessibility technology; assistive support for UI components


javax.imageio

Java image I/O; image file content description (metadata, thumbnails)


javax.print

Print services; formatting and job submissions


javax.print.attribute

Java Print Services; attributes and attribute sets collecting


javax.print.attribute.standard

Standard attributes; widely used attributes and values


javax.print.event

Printing events; services and print job monitoring


javax.sound.midi

Sound; I/O, sequencing, and synthesis of MIDI Types 0 and 1


javax.sound.sampled

Sound; sampled audio data (AIFF, AU, and WAV formats)

9.1.5. User Interface Libraries: Abstract Window Toolkit (AWT) API


java.awt

Abstract Window Toolkit; user interfaces, graphics, and images


java.awt.color

AWT color spaces; International Color Consortium Profile Format Specs


java.awt.datatransfer

AWT data transfers; between/within applications, clipboard support


java.awt.dnd

AWT drag and drop; direct GUI manipulation gestures


java.awt.event

AWT event listeners/adapters for events fired by AWT components


java.awt.font

AWT fonts; Type 1, Open Type fonts; True Type fonts


java.awt.geom

AWT geometry manipulation; two-dimensional support


java.awt.im

AWT input method framework; text input, languages, and handwriting


java.awt.image

AWT image streaming framework; image creation and modification


java.awt.image.renderable

AWT rendering-independent images; production


java.awt.print

AWT printing API; doc type specs, controls page setup/ formats

9.1.6. User Interface Libraries: Swing API


javax.swing

Swing API; pure Java components (buttons, split panes, tables, etc.)


javax.swing.border

Swing specialized borders; customized versus default Look-and-Feel borders


javax.swing.colorchooser

Swing JColorChooser component support; color selection dialog box


javax.swing.event

Swing events; event listeners and event adapters


javax.swing.filechooser

Swing JFileChooser component support; filesystem dialog box


javax.swing.plaf

Swing Pluggable Look-and-Feel; support for basic and Metal Look-and-Feels


javax.swing.plaf.basic

Swing Basic Look-and-Feel; default Look-and-Feel behavior


javax.swing.plaf.metal

Swing Metal Look-and-Feel; Metal/Steel Look-and-Feel


javax.swing.plaf.multi

Swing Multiple Look-and-Feel; combines multiple Look-and-Feels


javax.swing.plaf.synth

Swing Skinnable Look-and-Feel; all painting is delegated


javax.swing.table

Swing JTable component support; tabular data structures


javax.swing.text

Swing text component support; editable and noneditable text components


javax.swing.text.html

Swing HTML text editors; HTML text editor creation support


javax.swing.text.html.parser

Swing HTML parsers; default HTML parser support


javax.swing.text.rtf

Swing Rich-Text-Format text editors; editing support


javax.swing.tree

Swing JTree component support; construction, management, and rendering


javax.swing.undo

Swing undo/redo operations; text component support

9.1.7. Remote Method Invocation (RMI) and CORBA Libraries


java.rmi

Remote Method Invocation; invokes objects on remote JVMs


java.rmi.activation

RMI Object Activation; activates persistent remote object's references


java.rmi.dgc

RMI distributed garbage-collection (DGC); remote object tracking from client


java.rmi.registry

RMI registry; remote object that maps names to remote objects


java.rmi.server

RMI server side; RMI Transport protocol, HTTP tunneling, stubs


javax.rmi

Remote Method Invocation; RMI-IIOP, IIOP, JRMP


javax.rmi.CORBA

CORBA support; portability APIs for RMI-IIOP and ORBs


javax.rmi.ssl

Secured Sockets Layer; RMI client and serversupport


org.omg.CORBA

OMG CORBA; CORBA to Java mapping, ORBs


org.omg.CORBA_2_3

OMG CORBA additions; further JCK test support

9.1.8. Security Libraries


java.security

Security; algorithms, mechanisms, and protocols


java.security.cert

Certifications; parsing, managing CRLS and certification paths


java.security.interfaces

Security interfaces; RSA and DSA key generation


java.security.spec

Specifications; security keys and algorithm parameters


javax.crypto

Cryptographic operations; encryption, keys, MAC generations


javax.crypto.interfaces

Diffie-Hellman keys; defined in RSA Laboratories' PKCS #3


javax.crypto.spec

Specifications; for security key and algorithm parameters


javax.security.auth

Security authentication and authorization; access controls specifications


javax.security.auth.callback

Authentication callback support; services interaction with apps


javax.security.auth.kerberos

Kerberos network authentication protocol; related utility classes


javax.security.auth.login

Login and configuration; pluggable authentication framework


javax.security.auth.x500

X500 Principal and X500 Private Credentials; subject storage


javax.security.sasl

Simple Authentication and Security Layer; SASL authentication


org.ietf.jgss

Java Generic Security Service; authentication, data integrity

9.1.9. Extensible Markup Language (XML) Libraries


javax.xml

Extensible Markup Language (XML); constants


javax.xml.bind

XML runtime bindings; unmarshalling, marshalling, and validation


javax.xml.crypto

XML cryptography; signature generation and data encryption


javax.xml.crypto.dom

XML and DOM; cryptographic implementations


javax.xml.crypto.dsig

XML digital signatures; generating and validating


javax.xml.datatype

XML and Java data types; mappings


javax.xml.namespace

XML namespaces; processing


javax.xml.parsers

XML parsers; SAX and DOM parsers


javax.xml.soap

XML; SOAP messages; creation and building


javax.xml.transform

XML transformation processing; no DOM or SAX dependency


javax.xml.transform.dom

XML transformation processing; DOM-specific API


javax.xml.transform.sax

XML transformation processing; SAX-specific API


javax.xml.transform.stax

XML transformation processing; StAX-specific API


javax.xml.validation

XML validation; verification against XML schema


javax.xml.ws

Java API for XML Web services (JAX-WS); core APIs


javax.xml.ws.handler

JAX-WS message handlers; message context and handler interfaces


javax.xml.ws.handler.soap

JAX-WS; Simple Object Access Protocol (SOAP) message handlers


javax.xml.ws.http

JAX-WS; Hypertext Transfer Protocol (HTTP) bindings


javax.xml.ws.soap

JAX-WS; SOAP bindings


javax.xml.xpath

XPath expressions; evaluation and access


org.w3c.dom

W3C's Document Object Model (DOM); file content and structure access and updates


org.xml.sax

XML.org's Simple API for XML (SAX); file content and structure access and updates








No comments: