SlideShare a Scribd company logo
Java Overview
and
Architecture
Prepared By: Chay Weei Jye
Email: wjchay88@yahoo.com
Document Creation Date: 12 June 2019
Last Update: 22 June 2019
Author: wjchay88@yahoo.com
Objectives
and
Prerequisite
2
• To understand history of Java in brief.
• To understand the benefits of using Java.
• To understand the architecture behind
Java.
• To understand how Java source codes
are compiled and executed in brief.
Objectives:
• None
Prerequisites:
Author: wjchay88@yahoo.com
Introduction
Java was created by Sun
Microsystems Inc in 1991, later
acquired by Oracle Corporation.
Java was originally developed by
James Gosling and Patrick
Naughton.
There are more than 3 billion (and
counting) devices running Java.
Author: wjchay88@yahoo.com
Why Java
• Java works on different platforms (Windows, Mac,
Linux, Raspberry Pi, Android, etc.)
• This means your codes can be deployed and
run on many platforms (platform independent)
• The official language for Android is Java
• It is one of the most popular programming
languages in the world
• It is easy to learn and simple to use
• It makes you think like a programmer
• It is open-source and free
• It is secure, fast and powerful
• It has a huge community support (tens of millions of
developers)
• This means not just Java development support,
but there are thousands of third-party open
source products that can be freely used for
your Java projects
Author: wjchay88@yahoo.com
Why Java is for
you?
• 10 Most in demand Programming
Languages (based on job postings):
• https://www.techrepublic.com/arti
cle/the-10-most-in-demand-
programming-languages-of-2018/
• No 1: Java – 30% job postings
• No 2: Javascript – 26% job postings
• 8 Most in demand programming
languages 2018 (based on GitHub
usage)
• https://technostacks.com/blog/top
-programming-languages
• No 1: Python
• No 2: Java
5
Author: wjchay88@yahoo.com
Programming Language used in Popular
Websites (Wikipedia – 20 June 2019)
• https://en.wikipedia.org/wiki/Programming_languages_used_in_most_popular_website
6
Author: wjchay88@yahoo.com
Java Terminology
• Java Virtual Machine (JVM)
• The code execution component
• Translates bytecode into native machine code which
machines can execute
• Java Runtime Environment (JRE)
• Includes the JVM implementation
• Also bundles standard libraries (jars) and files that the JVM
uses at runtime
• Java Development Kit (JDK)
• The software development environment used to develop
Java applications
• Includes JRE and development tools
• 3 types of JDKs distributed by Oracle
• Standard Edition (JSE) Java Platform
• Enterprise Edition (JEE) Java Platform
• Micro Edition (JME) Java Platform
JDK
Appletviewer, apt, extcheck, javadoc,
jar, javac, javaws, keytool, jarsigner,
policytool, xjc, etc.
Development Tools
JRE
Memory model, garbage
collector, execution engine, etc.
DLL files, Code libraries,
extension files, security files,
applets support classes, TT Font
files, etc.
JVM
Libraries
Author: wjchay88@yahoo.com
Write Once Run Everywhere
Compiler
(javac)
Source code: *.java
Byte code
(.class)
JVM/Interpreter
for Windows
JVM/Interpreter
for Mac
JVM/Interpreter
for Linux
Distribution flow:
1. The same source code is
compiled to byte code files
(.class)  Write Once.
2. Byte code files are distributed to
various platforms (OS).
3. Each OS will have its own specific
JVM and interpreter to convert
byte codes to machine codes
when executed.  Run
Everywhere.

More Related Content

Similar to Java overview and architecture

PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
RajeshSukte1
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
CDSukte
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
sunmitraeducation
 
Java fundamentals
Java fundamentalsJava fundamentals
Java fundamentals
Om Ganesh
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
jyoti_lakhani
 
what is java.pdf
what is java.pdfwhat is java.pdf
what is java.pdf
XanGwaps
 
1.Intro--Why Java.pptx
1.Intro--Why Java.pptx1.Intro--Why Java.pptx
1.Intro--Why Java.pptx
YounasKhan542109
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
Amr Salah
 
j-chap1-Basics.ppt
j-chap1-Basics.pptj-chap1-Basics.ppt
j-chap1-Basics.ppt
SmitaBorkar9
 
Understand the Trade-offs Using Compilers for Java Applications
Understand the Trade-offs Using Compilers for Java ApplicationsUnderstand the Trade-offs Using Compilers for Java Applications
Understand the Trade-offs Using Compilers for Java Applications
C4Media
 
Join the Java Evolution GIDS Bangalore & Pune
Join the Java Evolution GIDS Bangalore & PuneJoin the Java Evolution GIDS Bangalore & Pune
Join the Java Evolution GIDS Bangalore & Pune
Heather VanCura
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Java Lover
 
java slides
java slidesjava slides
java slides
RizwanTariq18
 
Getting Started with Java
Getting Started with JavaGetting Started with Java
Getting Started with Java
Michael Redlich
 

Similar to Java overview and architecture (20)

PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Java fundamentals
Java fundamentalsJava fundamentals
Java fundamentals
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
 
Java
JavaJava
Java
 
Java
JavaJava
Java
 
Java
JavaJava
Java
 
Java
JavaJava
Java
 
Java
JavaJava
Java
 
Java
JavaJava
Java
 
what is java.pdf
what is java.pdfwhat is java.pdf
what is java.pdf
 
1.Intro--Why Java.pptx
1.Intro--Why Java.pptx1.Intro--Why Java.pptx
1.Intro--Why Java.pptx
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
 
j-chap1-Basics.ppt
j-chap1-Basics.pptj-chap1-Basics.ppt
j-chap1-Basics.ppt
 
Understand the Trade-offs Using Compilers for Java Applications
Understand the Trade-offs Using Compilers for Java ApplicationsUnderstand the Trade-offs Using Compilers for Java Applications
Understand the Trade-offs Using Compilers for Java Applications
 
Join the Java Evolution GIDS Bangalore & Pune
Join the Java Evolution GIDS Bangalore & PuneJoin the Java Evolution GIDS Bangalore & Pune
Join the Java Evolution GIDS Bangalore & Pune
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
java slides
java slidesjava slides
java slides
 
Getting Started with Java
Getting Started with JavaGetting Started with Java
Getting Started with Java
 

Recently uploaded

South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Landownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptxLandownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptx
JezreelCabil2
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 

Recently uploaded (20)

South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Landownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptxLandownership in the Philippines under the Americans-2-pptx.pptx
Landownership in the Philippines under the Americans-2-pptx.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 

Java overview and architecture

  • 1. Java Overview and Architecture Prepared By: Chay Weei Jye Email: wjchay88@yahoo.com Document Creation Date: 12 June 2019 Last Update: 22 June 2019
  • 2. Author: wjchay88@yahoo.com Objectives and Prerequisite 2 • To understand history of Java in brief. • To understand the benefits of using Java. • To understand the architecture behind Java. • To understand how Java source codes are compiled and executed in brief. Objectives: • None Prerequisites:
  • 3. Author: wjchay88@yahoo.com Introduction Java was created by Sun Microsystems Inc in 1991, later acquired by Oracle Corporation. Java was originally developed by James Gosling and Patrick Naughton. There are more than 3 billion (and counting) devices running Java.
  • 4. Author: wjchay88@yahoo.com Why Java • Java works on different platforms (Windows, Mac, Linux, Raspberry Pi, Android, etc.) • This means your codes can be deployed and run on many platforms (platform independent) • The official language for Android is Java • It is one of the most popular programming languages in the world • It is easy to learn and simple to use • It makes you think like a programmer • It is open-source and free • It is secure, fast and powerful • It has a huge community support (tens of millions of developers) • This means not just Java development support, but there are thousands of third-party open source products that can be freely used for your Java projects
  • 5. Author: wjchay88@yahoo.com Why Java is for you? • 10 Most in demand Programming Languages (based on job postings): • https://www.techrepublic.com/arti cle/the-10-most-in-demand- programming-languages-of-2018/ • No 1: Java – 30% job postings • No 2: Javascript – 26% job postings • 8 Most in demand programming languages 2018 (based on GitHub usage) • https://technostacks.com/blog/top -programming-languages • No 1: Python • No 2: Java 5
  • 6. Author: wjchay88@yahoo.com Programming Language used in Popular Websites (Wikipedia – 20 June 2019) • https://en.wikipedia.org/wiki/Programming_languages_used_in_most_popular_website 6
  • 7. Author: wjchay88@yahoo.com Java Terminology • Java Virtual Machine (JVM) • The code execution component • Translates bytecode into native machine code which machines can execute • Java Runtime Environment (JRE) • Includes the JVM implementation • Also bundles standard libraries (jars) and files that the JVM uses at runtime • Java Development Kit (JDK) • The software development environment used to develop Java applications • Includes JRE and development tools • 3 types of JDKs distributed by Oracle • Standard Edition (JSE) Java Platform • Enterprise Edition (JEE) Java Platform • Micro Edition (JME) Java Platform JDK Appletviewer, apt, extcheck, javadoc, jar, javac, javaws, keytool, jarsigner, policytool, xjc, etc. Development Tools JRE Memory model, garbage collector, execution engine, etc. DLL files, Code libraries, extension files, security files, applets support classes, TT Font files, etc. JVM Libraries
  • 8. Author: wjchay88@yahoo.com Write Once Run Everywhere Compiler (javac) Source code: *.java Byte code (.class) JVM/Interpreter for Windows JVM/Interpreter for Mac JVM/Interpreter for Linux Distribution flow: 1. The same source code is compiled to byte code files (.class)  Write Once. 2. Byte code files are distributed to various platforms (OS). 3. Each OS will have its own specific JVM and interpreter to convert byte codes to machine codes when executed.  Run Everywhere.