Home Java Javaapi Java API
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

Java API

Advertisement
Java API is not but a set of classes and interfaces that comes with the JDK. Java API is actually a huge collection of library routines that performs basic programming tasks such as looping, displaying GUI form etc.

Java API

     

What is Java API?

Java API is not but a set of classes and interfaces that comes with the JDK. Java API is actually a huge collection of library routines that performs basic programming tasks such as looping, displaying GUI form etc.

In the Java API classes and interfaces are packaged in packages. All these classes are written in Java programming language and runs on the JVM. Java classes are platform independent but JVM is not platform independent. You will find different downloads for each OS.

The Java comprises three components:

  • Java Language
  • JVM or Java Virtual Machine and
  • The Java API (Java programming interface)

The Java language defines easy to learn syntax and semantics for Java programming language. Every programmer must understand these syntax and semantics to write program in Java language.

Type of Java API

There are three types of API available in Java Technology.

  • Official Java Core API
    The official core API is part of JDK download. The three editions of the Java programming language are Java SE, Java ME and Java EE.
      
  • Optional Java API
    The optional Java API can be downloaded separately. The specification of the API is defined according to the JSR request.
     
  • Unofficial APIs
    These API's are developed by third parties and can downloaded from the owner website.

Official Java Core API list

Name Acronym Package(s) that contain the API Description and Version History
Abstract Window Toolkit AWT java.awt First released with version 1.0.
Swing   javax.swing Included in J2SE 1.2 and later.
Accessibility   javax.accessibility  
Drag n Drop   java.awt.datatransfer
java.awt.dnd
 
Image I/O   javax.imageio
javax.imageio.*
 
Sound   javax.sound.midi
javax.sound.midi.spi
javax.sound.sampled
javax.sound.sampled.spi 
 
Java Database Connectivity JDBC java.sql
javax.sql 
 
Java Cryptography Extension JCE javax.crypto
javax.crypto.interfaces
javax.crypto.spec
Included as part of J2SE 1.4 and later. Available as an optional package to versions 1.2 and 1.3.
Java Authentication and Authorization Service JAAS javax.security.auth Included in J2SE 1.4 and later, previously released as an optional package with version 1.3.
Java Secure Socket Extension JSSE javax.net
javax.net.ssl
java.security.cert 
A set of packages that enable secure Internet communications. Included as part of J2SE 1.4 and later, JSSE 1.0.3 is an optional package to the Java 2 SDK, versions 1.2 and 1.3.
Java Native Interface JNI   Allows Java code running in the Java virtual machine (JVM) to call and be called[1] by native applications (programs specific to a hardware and operating system platform) and libraries written in other languages, such as C, C++ and assembly.

Optional Java API list

Name Acronym Description and Version History Available from
Java Advanced Imaging JAI An API which provides a set of interfaces that support a high-level programming model allowing to manipulate images easily.  
Java Communications API JCA    
Java Data Objects JDO A specification of Java object persistence .  
JavaHelp   A full-featured, extensible help system that enables you to incorporate online help in applets, components, applications, operating systems, and devices.  
Java Management Extensions JMX A technology that supplies tools for managing and monitoring applications , system objects, devices (e.g. printers ) and service oriented networks.  
Java Media Framework JMF An API that enables audio, video and other time-based media to be added to Java applications and applets.  
Java Naming and Directory Interface JNDI An API for directory services .  
Java Speech API JSAPI This API allows for speech synthesis  
Java 3D J3D A scene graph -based 3D API. available here
Java OpenGL JOGL A wrapper library for OpenGL . available here

Important Java API

As a programmer you must learn about the following important java APIs.

 

Advertisement

Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 15, 2008

Ask Questions?    Discuss: Java API  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
murthy
June 20, 2011
what is difference between java and j2ee

please send answer for the above question
Kumar Vikrant
June 21, 2011
JAVA

Please send me Topic wise Solution in java. J2SE & J2EE
pawan sen
July 29, 2011
java api

java api information are good choice
laxmi patel
January 24, 2013
java

i m making a madiaplayer project in java n i want @ cut mp3 songs how could i ????????
VANDI JONATHAN KWAYA
November 22, 2011
java and vb

how can i know
jamil ur Rahman
December 1, 2011
java 2

i like ur style
Prabha shanker pandey
December 24, 2011
reply.

is java API run explicitly,if yes than how?
pramual
January 5, 2012
java api

thank you
Russell
January 22, 2012
Uselesss Buttons

I told you guys to check the previous index and next buttons on the pages. They just don't work. Please fix it.
bhajju
January 9, 2013
:D

nice enough definition
DEBABRATA PATRA
May 6, 2012
java

write api any program of java
deepak roy
May 20, 2012
java

how to work java api in todays technologies explain widely with examples
bujji
May 25, 2012
java

excelent information is provide ur website thanking you and my small question plz answer from me ..... my QUESTION IS explainaboutquestionJRE&JDK. THANKING YOU.
Vasumithra
July 8, 2012
Thanks

Wonderful explanation.. ThanQ.
DHARSHINEE
July 26, 2012
JAVA

EAGER TO LEARN
Sergey
August 28, 2012
rabota

okey
manoj
September 20, 2012
details about java api package

i want java package's with 10 classes for all
Tipu Rathod
July 24, 2013
details for java programing

How to create/load the Image in java?
bhawna ramani
December 29, 2013
java

explaian API component in java
DMCA.com