Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: Java API

  1. #1
    Junior Member
    Join Date
    Aug 2013
    Thanked 0 Times in 0 Posts

    Default Java API

    Hi, Please Help. I know the basic concepts of Java. I want know the info about Java API. How to create/make API in Java?. What is the standard format?

  2. #2
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 698 Times in 680 Posts

    Default Re: Java API

    Please don't start duplicate topics.

    You might start here.

  3. #3

    Default Re: Java API

    If your API grows, there will be repetitive use of the same terms, over and over again. For instance, some actions will be come in several flavours resulting in various classes / types / methods, that differ only subtly in behaviour. The fact that they’re similar should be reflected by their names. Names should use strong terms. Take JDBC for instance

  4. #4

    Default Re: Java API

    I'd make the API (semi-)independent from the implementation of the GUI, because later you might want to create a different interface to the same application, or simply change the GUI, and then you're stuck with whatever you created for the first pass of your first GUI.

  5. #5
    Join Date
    Sep 2018
    Thanked 9 Times in 6 Posts

    Default Re: Java API

    An application programming interface (API), in the context of Java, is a collection of prewritten packages, classes, and interfaces with their respective methods, fields and constructors. Similar to a user interface, which facilitates interaction between humans and computers, an API serves as a software program interface facilitating interaction.

    In Java, most basic programming tasks are performed by the API’s classes and packages, which are helpful in minimizing the number of lines written within pieces of code.

    Java Development Kit (JDK) is comprised of three basic components, as follows:

    Java compiler
    Java Virtual Machine (JVM)
    Java Application Programming Interface (API)
    The Java API, included with the JDK, describes the function of each of its components. In Java programming, many of these components are pre-created and commonly used. Thus, the programmer is able to apply prewritten code via the Java API. After referring to the available API classes and packages, the programmer easily invokes the necessary code classes and packages for implementation.

  6. #6
    Join Date
    Dec 2013
    Thanked 4 Times in 2 Posts

    Default Re: Java API

    Thank you for that fundamental concept of web programming. It is good to always be good grounded on these conceptional ideas on the web. It will make one closer to their desired goal.

Similar Threads

  1. Regarding : Java API.
    By Venkatesa Perumal in forum What's Wrong With My Code?
    Replies: 1
    Last Post: August 24th, 2013, 10:26 AM
    By Roopali in forum What's Wrong With My Code?
    Replies: 7
    Last Post: March 29th, 2013, 07:12 AM
  3. java API
    By nedu4one@yahooo.com in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 17th, 2013, 10:41 AM
  4. Difference between Speech API and Sound API
    By zeeshanmirza in forum Java SE APIs
    Replies: 1
    Last Post: October 22nd, 2009, 12:22 AM
  5. Replies: 1
    Last Post: August 7th, 2008, 02:09 AM

Tags for this Thread