Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Java Platform, Standard Edition
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Special purpose packages == === java.applet === {{Main|Java applet}} Created to support [[Java applet]] creation, the {{Javadoc:SE|package=java.applet|java/applet|module=java.desktop}} package lets applications be downloaded over a network and run within a guarded sandbox. Security restrictions are easily imposed on the sandbox. A developer, for example, may apply a [[digital signature]] to an applet, thereby labeling it as safe. Doing so allows the user to grant the applet permission to perform restricted operations (such as accessing the local hard drive), and removes some or all the sandbox restrictions. Digital certificates are issued by [[certificate authority|certificate authorities]]. Because Java applets are now deprecated, this package is itself deprecated. === java.beans === {{Main|JavaBeans}} Included in the {{Javadoc:SE|package=java.beans|java/beans|module=java.desktop}} package are various classes for developing and manipulating beans, reusable components defined by the [[JavaBeans|JavaBeans architecture]]. The architecture provides mechanisms for manipulating properties of components and firing events when those properties change. The APIs in <code>java.beans</code> are intended for use by a bean editing tool, in which beans can be combined, customized, and manipulated. One type of bean editor is a [[Graphical user interface|GUI]] designer in an [[integrated development environment]]. === java.awt === {{Main|Abstract Window Toolkit}} The {{Javadoc:SE|package=java.awt|java/awt|module=java.desktop}}, or Abstract Window Toolkit, provides access to a basic set of [[GUI]] widgets based on the underlying native platform's widget set, the core of the GUI event subsystem, and the interface between the native windowing system and the Java application. It also provides several basic [[layout manager]]s, a datatransfer package for use with the [[Clipboard (software)|Clipboard]] and [[Drag and drop|Drag and Drop]], the interface to [[input device]]s such as [[Mouse (computing)|mice]] and [[Keyboard (computing)|keyboards]], as well as access to the [[system tray]] on supporting systems. This package, along with <code>javax.swing</code> contains the largest number of enums (7 in all) in JDK 6. === java.rmi === {{Main|Java remote method invocation}} The {{Javadoc:SE|package=java.rmi|java/rmi|module=java.rmi}} package provides [[Java remote method invocation]] to support [[remote procedure call]]s between two java applications running in different [[JVM]]s. === java.security === Support for security, including the message digest algorithm, is included in the {{Javadoc:SE|package=java.security|java/security}} package. === java.sql === {{Main|Java Database Connectivity}} An implementation of the [[JDBC]] API (used to access [[SQL]] [[database]]s) is grouped into the {{Javadoc:SE|package=java.sql|java/sql|module=java.sql}} package. === javax.rmi === {{Main|RMI-IIOP}} The <code>[https://docs.oracle.com/javase/8/docs/api/javax/rmi/package-summary.html javax.rmi]</code> package provided support for the remote communication between applications, using the RMI over IIOP protocol. This protocol combines RMI and CORBA features. [http://java.sun.com/javase/technologies/core/corba/index.jsp Java SE Core Technologies - CORBA / RMI-IIOP] === javax.swing === {{Main|Swing (Java)}} [[Swing (Java)|Swing]] is a collection of routines that build on <code>java.awt</code> to provide a platform independent [[widget toolkit]]. {{Javadoc:SE|package=javax.swing|javax/swing|module=java.desktop}} uses the 2D drawing routines to render the user interface components instead of relying on the underlying native [[operating system]] GUI support. This package contains the largest number of classes (133 in all) in JDK 6. This package, along with <code>java.awt</code> also contains the largest number of enums (7 in all) in JDK 6. It supports pluggable looks and feels (PLAFs) so that widgets in the GUI can imitate those from the underlying native system. Design patterns permeate the system, especially a modification of the [[model–view–controller]] pattern, which loosens the [[coupling (computer science)|coupling]] between function and appearance. One inconsistency is that (as of J2SE 1.3) fonts are drawn by the underlying native system, and not by Java, limiting text portability. Workarounds, such as using bitmap fonts, do exist. In general, "layouts" are used and keep elements within an aesthetically consistent GUI across platforms. === javax.swing.text.html.parser === The {{Javadoc:SE|package=javax.swing.text.html.parser|javax/swing/text/html/parser|module=java.desktop}} package provides the error tolerant HTML parser that is used for writing various web browsers and web bots. === javax.xml.bind.annotation === The <code>[https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/annotation/package-summary.html javax.xml.bind.annotation]</code> package contained the largest number of Annotation Types (30 in all) in JDK 6. It defines annotations for customizing Java program elements to XML Schema mapping.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)