What is Java?

tutorials of java

Java is a high level, modern programming language designed in the early 1990s by Sun Microsystems, and currently owned by Oracle.

It is Platform Independent, which means that you only need to write the program once to be able to run it on a number of different platforms!

Platform : Any hardware or software environment in which a program runs, is known as a platform. Since Java has a runtime environment (JRE) and API, it is called a platform.


Example:

class Simple{
    public static void main(String args[]){
     System.out.println(“Hello world”);
    }
}

Application:

According to Sun, 3 billion devices run Java. There are many devices where Java is currently used. Some of them are as follows:

1.Desktop Applications such as acrobat reader, media player, antivirus, etc.
2. Web Applications such as irctc.co.in, javatpoint.com, etc.
3. Enterprise Applications such as banking applications.
4. Mobile
5. Embedded System
6. Smart Card
7. Robotics
8. Games, etc.


Types of Java Applications:

There are mainly 4 types of applications that can be created using Java programming:

i) Standalone Application:

These are traditional software that we need to install on every machine. Examples of standalone application are Media player, antivirus, etc. AWT and Swing are used in Java for creating standalone applications.

ii) Web Application:

An application that runs on the server side and creates a dynamic page is called a web application. Currently, Servlet, JSP, Struts, Spring, >Hibernate, JSF, etc. technologies are used for creating web applications in Java.

iii) Enterprise Application:

It has advantages of the high-level security, load balancing, and clustering. In Java, EJB is used for creating enterprise applications.

iv) Mobile Application:

 An application which is created for mobile devices is called a mobile application. Currently, Android and Java ME are used for creating mobile applications.


Recommended Posts:

Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *