Java Introduction
What is Java?
Java is both a programming language and a platform. Java is a high-level programming language that is robust, object-oriented, and secure.
Java was created in 1995 by Sun Micro-systems (which is now a division of Oracle). James Gosling is widely acknowledged as the “Father of Java.” It was called Oak before Java. Because Oak was already a licensed corporation, James Gosling and his team renamed it Java.
A platform is any hardware or software environment in which a program may execute. Java is referred to as a platform since it has a runtime environment (JRE) and an API.
Java Example
Let’s have a look at some Java programming examples. The HelloWorld example is described in depth in the subsequent blog.
public class Simple {
public static void main(String args[]) {
System.out.println(“HelloWorld! we are SARTECH”);
}
}
Application
According to Sun Java is the world’s most popular developer platform. Java is used by over ten million developers globally. Java is installed on 13 billion devices. Java is being employed in a wide range of devices. Here are a few examples:
- Games
- Robotics
- Web applications like irctc.co.in, Broadleaf, and many others.
- Mobile Applications
- Embedded Systems
- Desktop applications such as acrobat reader, media player, antivirus software, and so on
- Enterprise Applications such as banking applications
- Smart Card, etc.
Types of Java Applications
Get Ayushi Trivedi’s stories in your inbox
Join Medium for free to get updates from this writer.
Java programming are widely used to construct four different sorts of applications:
1) Standalone Application
Desktop apps and window-based program are other terms for stand-alone applications. These are typical program that must be installed on each system. Examples of standalone apps include media players, antivirus software, and so on. In Java, AWT and Swing are used to create standalone apps.
2) Web Application
A web application is an application that runs on the server and generates a dynamic page. Currently, technologies such as Servlet, JSP, Struts, Spring, Hibernate, JSF, and others are used to develop Java online applications.
3) Enterprise Application
An enterprise application is a type of distributed application, such as a banking application. It offers benefits such as high-level security, load balancing, and clustering. EJB(Enterprise Java Bean) is a Java framework for developing corporate applications.
4) Mobile Application
A mobile application is an application designed for mobile devices. Android and Java ME(Mobile Edition) are being utilized to develop mobile applications.
Java Platforms / Editions
Java offers four platforms or editions:
1) Java SE (Java Standard Edition)
It is a programming platform based on Java. Java programming APIs such as java.lang, java.io, java.net, java.util, java.sql, java.math, and others are included. It covers fundamental concepts such as OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection, and so on.
2) Java EE (Java Enterprise Edition)
It is an enterprise platform primarily used for the development of online and enterprise applications. It is based on the Java SE(Standard Edition) platform. It covers subjects such as Servlet, JSP, Web Services, EJB(Enterprise Java Bean), JPA(Jakarta Persistence; formerly Java Persistence API), and others.
3) Java ME (Java Micro Edition or Mobile Edition)
It is a micro platform focused on mobile apps.
4) JavaFX
It is used to create high-quality online apps. It makes use of a simple user interface API.
Prerequisite
To learn Java, one must have a fundamental understanding of the C/C++ programming language.




