Java-Basics-1
Java-Basics-1
What is Java?
- programming language that was originally developed
by Sun Microsystems which was initiated by James Gosling
and released in 1995 as core component of Sun
Microsystems' Java platform (Java 1.0 [J2SE]).
The latest release of the Java Standard Edition is Java SE 18.
With the advancement of Java and its widespread
popularity, multiple configurations were built to suit various
types of platforms. For example: J2EE for Enterprise
Applications, J2ME for Mobile Applications.
The new J2 versions were renamed as Java SE, Java EE, and
Java ME respectively. Java is guaranteed to be Write Once,
Run Anywhere.
Applications of Java:
According to Sun, 3 billion devices run Java.
There are many devices where Java is currently
used. Some of them are as follows:
Desktop Applications such as acrobat reader, media
player, antivirus, etc.
Web Applications such as irctc.co.in, javatpoint.com, etc.
Enterprise Applications such as banking applications.
Mobile
Embedded System
Smart Card
Robotics
Games, etc.
Types of Java Applications
There are mainly 4 types of applications that can be created using
Java programming:
1) Standalone Application
Standalone applications are also known as desktop applications
or window-based applications. 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.
2) 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.
Types of Java Applications (2)
3) Enterprise Application
An application that is distributed in nature, such as banking
applications, etc. is called an enterprise application. It has
advantages like high-level security, load balancing, and
clustering. In Java, EJB is used for creating enterprise applications.
4) 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.
Features of Java: