Introduction Update
Introduction Update
• Java is a high level programming language that the Java platform uses.
Objected Oriented
Secure
Programming
Robust Multithreading
02/22/2025 3
Types of Applications
• Standalone Application
• Web Application
An application that runs on the server side and creates a dynamic page is called a web
application(Client-Server application). Servlet, JSP, Struts, Spring, Hibernate, JSF, etc.
technologies are used for creating web applications in Java. (Examples : javatpoint.com,
irctc.co.in, etc)
02/22/2025 4
• Enterprise Application
• Mobile Application
02/22/2025 5
Java Programming Language Platform
• A Java platform is a specific setting where Java programming language programs can be
used.
• Java platforms are divided into four editions, Java Standard Edition (Java SE), Java
Enterprise Edition (Java EE), Java Micro Edition (Java ME), and JavaFX.
02/22/2025 6
1. Java Standard Edition (Java SE)
• It includes Java programming APIs such as java.lang, java.io, java.net, java.util, java.sql, java.math
etc.
• It includes core topics like OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O
Stream, Networking, AWT, Swing, Reflection, Collection, etc.
• After learning Java SE, you can write a desktop application.
• The Java SE Platform Includes:
JVM (Java Virtual Machine),
JDK (Java Development Kit),
JRE (Java Run-time Environment), and
Various class libraries.
• These components of Java SE are frequently used in Java technology applications in extension to
the main APIs.
02/22/2025 7
2.Java Enterprise Edition (Java EE) {Java SE + Server’s Function}
• The Java Enterprise Edition (Java EE) was developed to expand the Java SE by adding a
collection of standards/specifications that describe frequently used features by commercial
applications.
• The most recent version of this edition includes more than 40 specifications that assist
programmers in building applications that use web services to exchange data, transform
object-relational data into entity-relationship models, manage transactional interactions, and
other things.
• After learning Java EE, you can write enterprise application. You can learn Java SE before
Java EE. (Banking application)
02/22/2025 8
• The most used features of Java EE are:
Java Server Pages (JSP): It is a server-side programming language that allows constructing
dynamic, device-independent ways to build web-based applications.
Java Server Faces (JSF): The JSF API offers elements such as inputText, commandButtons, and
others and assists in managing their states. Additionally, it offers data translation, server-side
validation, etc.
Java Persistence API (JPA): Java developers get access to an object/relational mapping
mechanism through the Java Persistence API to manage relational data in Java applications.
Enterprise Java Beans (EJB): EJB is one of the many Java APIs used for developing corporate
applications. It is a server-side software component that defines an application's business logic.
02/22/2025 9
3. Java Micro Edition (Java ME)
• Java Micro Edition was developed to facilitate mobile and embedded device applications.
• This edition is not quite as popular as other editions like Java SE and Java EE, but recently,
the Internet of Things (IoT) gadgets have given this technology new hope.
• The Java ME platform offers an API and a small-footprint virtual machine that helps run Java
ME applications on compact devices.
• Some examples of Java ME applications are given below:
Calculator for Mobile, which demonstrates the functionality of multi-threading.
GPIO (General Purpose Input Output) applications.
Location APIs, etc.
02/22/2025 10
4. Java FX
• JavaFX is a platform that provides a modern, hardware-accelerated graphics and media engine for
building rich online and desktop applications.
• It uses a simple and powerful scripting language (JavaFX Script) to enable the development of
rich online, GUI, and Desktop applications. JavaFX was created in Java to replace Swing as the
default GUI library.
• Some applications of JavaFX are given below:
NEOS – New Eurovision Operations System used in Television media.
Quote Monitor application is used in the field of finance.
GEONS Ground System Software (GGSS) Nasa is used in space technology.
FORUM Carl Zeiss Meditec AG is used in medicines.
02/22/2025 11
Java Version
02/22/2025 12
• The latest version of Java is Java 22 or JDK 22 released on March, 19th 2024 JDK 22 is a
regular update of Java SE platform.
• JDK 21 is currently the latest long-term support release (LTS), replacing JDK 17 which is the
previous LTS of the Java SE platform.
• From the first version released in 1996 to the latest version JDK 22 available to the public
since March 2024, the Java platform has been actively being developed for more than 28 years.
• Many changes and improvements have been made to the technology over the years. The
following table summarizes all versions of Java SE from its early days to the latest.
02/22/2025 13
Java IDE
• There are multiple choices of IDEs that you can use according to your requirements. Each
IDE has its unique features and capabilities.
• Here is the list of the Best Java IDE that a developer can use to build scalable applications.
1. Eclipse 6. JCreator
2. NetBeans 7. DrJava
3. IntelliJ IDEA 8. Xcode
4. BlueJ 9. Greenfoot
5. JDeveloper 10. MyEclipse
https://www.geeksforgeeks.org/best-java-ide-for-developers/
02/22/2025 14
Jobs and Opportunities
• Java is very high in demand and all the major companies are recruiting Java Programmers to
develop their Desktop, Web and Mobile applications.
• Following are the great companies who are using Java and they need good Java
Programmers:
Google
Microsoft
IBM
Amazon
Netflix
02/22/2025 Many more.. 15
C++ & Java
02/22/2025 16
Java Environment
•JDK(Java Development Kit): JDK is intended for
software developers and includes development
tools such as the Java compiler, Javadoc, Jar, and a
debugger.
•JRE(Java Runtime Environment): JRE contains
the parts of the Java libraries required to run Java
programs and is intended for end-users. JRE can be
viewed as a subset of JDK.
•JVM: JVM (Java Virtual Machine) is an abstract
machine. It is a specification that provides a
runtime environment in which java bytecode can be
executed. JVMs are available for many hardware
and software platforms.
02/22/2025 17
JDK in Java
Most Popular JDK:
Oracle JDK: the most popular JDK and the main distributor
JDK contains:
of Java11,
Java Runtime
OpenJDK: Ready for use: JDK 15, JDK 14, and JMC,
Environment (JRE),
Azul Systems Zing: efficient and low latency JDK for
An interpreter/loader
Linux os,
(Java),
Azul Systems: based Zulu brand for Linux, Windows, Mac
A compiler (javac),
OS X,
An archiver (jar) and
IBM J9 JDK: for AIX, Linux, Windows, and many other
many more
OS,
Amazon Corretto: the newest option with the no-cost build
02/22/2025 of OpenJDK and long-term support. 18
Compile Source Code
Output
JVM
02/22/2025 19
1. Create Hello.java program
02/22/2025 20
1. Create Hello.java program
02/22/2025 21
References
https://www.tutorialspoint.com/java/index.htm?authuser=0
https://www.geeksforgeeks.org/best-java-ide-for-developers/
https://www.geeksforgeeks.org/java/?ref=lbp
Java How to Program( 9th Edition)
02/22/2025 22