My other sites

Latest News

New Summer Look :)










A Quick Tour of the Packages

JDK 1.1 Packages

java.applet
java.awt
java.awt.datatransfer
java.awt.event
java.awt.image
java.awt.peer
java.beans
java.io

java.lang
java.lang.reflect
java.math
java.net
java.rmi
java.rmi.dgc
java.rmi.registry
java.rmi.server

java.security
java.security.acl
java.security.interfaces
java.sql
java.text
java.util
java.util.zip

 

 

java.applet

Improvements: - JAR files allow all the grouping of of an applet's files into a single archive

- Digital signatures allow trusted applets to run with fewer security restrictions


java.awt

  Java 1.1 AWT included support for printing, cut-and-paste, popup menus, menu shortcuts, and focus traversal as well

It has also improved support for colors, fonts, cursors, layout management, scrolling, image manipulation, and clipping

 

java.awt.datatransfer

  The classes and interfaces in this package define a generic framework for inter-application (and intra-application) data transfer

Uses a DataFlavor object to represent the type of data to be transferred

Also includes classes to support a clipboard-based cut-and-paste data transfer model. This works for Java applications running on separate VMs too, or even for other, non-Java applications that run under the OS itself

One of the two underlying data transfer mechanisms supported by this package relies on the Object Serialization API of the java.io package


java.math

  A package for handling numbers with arbitrary precision

The BigDecimal class gives its user complete control over rounding behavior, forcing the user to explicitly specify a rounding behavior for operations capable of discarding precision

Eight rounding modes are provided for this purpose
- BigDecimal
- BigInteger


java.util.zip

  A package for handling Zip-files

To list the files in a Zip-file:


	ZipFile zipf = new ZipFile(filename);

	for (Enumeration e = zipf.entries() ; e.hasMoreElements() ;) {
        ZipEntry entry = (ZipEntry)e.nextElement();
        System.out.println(entry.getName() + ": " +
                           entry.getSize()/1024 + " KB");
	}


java.text

  A package for handling international and country specific information

It contains classes with information about:

- DecimalFormats

- DateFormats

- MessageFormats

- Locale-specific text splitting


java.sql

  Java Database Connectivity

A class for interfacing databases through an SQL interface

JDK contains a Bridge-interface to Microsofts ODBC

Database manufacturers must provide their own implementation and must conform to the standard API


java.security

 

- Cryptography

- public and private keys, certificates, digital signatures

- Default implementation relies on the BigInteger class