Cardealersiworld.comtruck reviews, road tests, reviews | ||
Dermatologyiworld.comsun tan, picture, image | ||
Webiworld.comwebsite counters, free web counter, website stats | ||
1
|
The Java Class Library is a set of dynamically loadable libraries that Java applications can call at runtime. Because the Java Platform is not dependent on any specific operating system, applications cannot rely on any of the existing libraries. Instead, the Java Platform provides a comprehensive set of standard class libraries, containing much of the same reusable functions commonly found in modern operating systems.
The Java class libraries serve three purposes within the Java Platform:
Contents |
The Java Class Library is almost entirely written in Java itself, except the parts that need to have direct access to the hardware and operating system (as for I/O, or Graphic Rasterisation). The Java classes that give access to these functions commonly use JNI wrappers to access the native API of the operating system.
Mostly all the Java classes of the library are contained in a single Jar file contained in the JRE or JDK distribution, called rt.jar. Contrary to other libraries used by an application, the Class Library contained in rt.jar is in the default Bootstrap Classpath How Classes are Found, and so does not have to be included in the Classpath declared for the application.
Any Java implementation must pass the Java Technology Compatibility Kit tests for compliance.
Features of the Class Library are accessed through classes grouped by packages.
java.lang contains fundamental classes and interfaces closely tied to the language and runtime system.
java.io, java.nio, and java.net packages.
java.math provides regular mathematical expressions, as well as arbitrary-precision decimals and integers numbers.
java.awt package supports basic GUI operations and binds to the underlying native system. It also contains the 2D Graphics API. The javax.swing package is built on AWT and provides a platform independent widget toolkit, as well as a Pluggable look and feel. It also deals with editable and non-editable text components.
java.text package deals with text, dates, numbers, and messages.
java.awt.image and javax.imageio provide APIs to write, read, and modify images.
java.sql package.
javax.script package gives access any Scripting language that conforms to this API.
java.applet allows applications to be downloaded over a network and run within a guarded sandbox
java.beans provides ways to manipulate reusable components.
Following their promise to release a fully buildable JDK based almost completely on free and open source code in the first half of 2007 [2], Sun released the complete source code of the Class Library under the GPL on May 8, 2007, except some limited parts that were licensed by Sun from third parties who did not want their code to be released under a free and open-source license.Open JDK is here!. Sun Microsystems (2007-05-08). Retrieved on 2007-05-09. Sun\'s goal is to replace the parts that remain proprietary and closed source with alternative implementations and make the Class Library completely free and open source.Since there\'s some encumbered code in the JDK, Sun will continue to use that code in commercial releases until it is replaced by fully-functional free and open-source alternatives.
As of October 2007, the parts of the Class Library that remain proprietary and closed-source (4% as of May 2007 Fitzsimmons, Thomas (2007-05-18). Plans for OpenJDK. Retrieved on 2007-05-22.) are Herron, David (2007-10-04). Plans for OpenJDK. Retrieved on 2007-10-09.:
Since the first May 2007 release, Sun Microsystems has released as Open-source or replaced by Open-source alternatives some of the encumbered code:
GNU Classpath is the other main free software class library for Java. Contrary to other implementations, it only implements the Class Library, and is used by many free Java runtimes (like Kaffe, SableVM, JamVM, CACAO).
Apache Harmony is another free software class library. Its aim is to also implement the other parts of the Java stack (Virtual Machine, Compiler, and other tools required for any Java implementation).
| Java | ||
|---|---|---|
| Java platform | Java ME · Java SE · Java EE · Java Card | |
| Sun technologies | Java programming language · Squawk · Java Development Kit · OpenJDK · Java Virtual Machine · Java Runtime Environment · JavaFX | |
| Major third-party technologies | GNU Classpath · GNU Compiler for Java · Kaffe · TopLink · Apache Harmony · Apache Struts · Spring framework · Hibernate · JBoss application server | |
| History | Java version history · Criticism of Java · Java Community Process · Sun Microsystems · Free Java implementations | |
| Language features | Bytecode · Syntax · Applets · Servlets · JavaServer Pages · Web Start | |
| Scripting languages | Java Tcl · Jython · JRuby · BeanShell · Groovy · Judoscript · Sleep · Bean Scripting Framework · Yoix · Rhino | |
| Sun Microsystems | |
|---|---|
| Software | Solaris / OpenSolaris / SunOS · StarOffice / OpenOffice.org · Java Desktop System · Java (Java language · JVM · Java API) · JES · Squawk · Network File System · NIS / NIS+ · JavaFX · NetBeans · Sun Studio · Sun Grid Engine · JXTA · Sun Java System Application Server / GlassFish · Sun Java System Access Manager / OpenSSO · Sun Java System Web Server · JavaDB · MySQL · Sun xVM · Logical Domains · Solaris Containers · VirtualBox |
| Hardware | Sun-1 · Sun-2 · Sun-3 · Sun386i · Sun-4 · SPARCstation · Sun Ultra series · Sun Enterprise · Sun Blade · Sun Fire · SPARC Enterprise · UltraSPARC T1 / UltraSPARC T2 · SPARC · JavaStation · Sun Ray · Sun Modular Datacenter · Sun Grid · Sun SPOT |
| Storage | Sun StorageTek 5800 System · Sun Fire X4500 · QFS |
| HPC solutions | Sun Constellation System · Sun Visualization System · Lustre |
| Education and Recognition | SCPs · List of notable employees |
| Sun Research | MAJC · Proximity communication · picoJava · Fortress · Project Looking Glass |
This article is licensed under the GNU Free Documentation License. It uses material from Wikipedia