J2SE

J2SE or the Java Platform Standard Edition is popularly used in Java language programming. This is the platform commonly used to create portable applications.

What does J2SE do?

J2SE consists of a virtual machine needed for a Java program to work together with its set of libraries (packages). These libraries are needed to gain access and use networks, graphical interfaces, file systems and other applications that belong to those programs.

What are J2SE’s Purpose Packages?

Descriptions of Main Java SE libraries are as follows:

  1. java.lang – It contains fundamental classes and sets of interfaces narrowly attached to its language and its runtime systems. Included are class hierarchy, math functions, basic exceptions, security functions, threading, and others.
  2. java.lang.ref – It contains a package with more flexible references than others, and allows limited communication between the Java Virtual Machine garbage collector, and its applications.
  3. java.lang-reflect – This reflection is an element of Java API, which allows the code to examine Java’s components during runtime and utilize its reflected elements.
  4. java.io – This package has classes that can support the J2SE’s input and output. These packages are stream-oriented; but random access files are also provided.
  5. java.nio – It is applied to support memory-mapped I/O.
  6. java.math – This helps multiprecision number generators of prime numbers.
  7. java.net – This is an open-source project set.
  8. java.text – This is a package made up of interfaces and classes useful for international localized programs.
  9. java.util – This is a collection of Java utility classes.

Uses of J2SE

The J2SE allows users to view Flash movies and hear audio files by simply clicking on a certain page link. As a user clicks, the pages go to the browser environment and begin the process of launching the application. Once the request for access has been granted, the video and sound application is executed. One popular example of J2SE in action is online games. In this type of environment certain facilities coordinate the interaction between the online community and the user via music and video applications.