JAVA ARCHITECTURE
BY:
VISHNU PRASATH R
JAVAARCHITECTURE
 Java Architecture is a collection of components, i.e.,
 JVM
 JRE
 JDK
 It integrates the process of interpretation and compilation. It defines all the processes
involved in creating a Java program.
 Java Architecture explains each and every step of how a program is compiled and
executed.
COMPONENTS OF ARCHITECTURE
JAVA DEVELOPMENT KIT (JDK)
 It is a software development environment used in the development of Java applications
and applets.
 Java Development Kit holds JRE, a compiler, an interpreter or loader, and several
development tools in it.
JAVA VIRTUAL MACHINE(JVM)
 The main feature of Java is WORA. WORA stands for Write Once Run Anywhere.
 The feature states that we can write our code once and use it anywhere or on any
operating system.
 Our Java program can run any of the platforms only because of the Java Virtual
Machine.
 It is a Java platform component that gives us an environment to execute java programs.
 JVM's main task is to convert byte code into machine code.
JVM ARCHITECTURE
 Class Loader: Class Loader is a subsystem used to load class files. Class Loader first
loads the Java code whenever we run it.
 Class Method Area: In the memory, there is an area where the class data is stored
during the code's execution. Class method area holds the information of static variables,
static methods, static blocks, and instance methods.
 Heap: The heap area is a part of the JVM memory and is created when the JVM starts
up. Its size cannot be static because it increase or decrease during the application runs.
 Stack: It is also referred to as thread stack. It is created for a single execution thread.
The thread uses this area to store the elements like the partial result, local variable, data
used for calling method and returns etc.
 Native Stack: It contains the information of all the native methods used in our
application.
 Execution Engine: It is the central part of the JVM. Its main task is to execute the byte
code and execute the Java classes. The execution engine has three main components
used for executing Java classes.
 Interpreter: It converts the byte code into native code and executes. It sequentially
executes the code. The interpreter interprets continuously and even the same method
multiple times.
 JIT Compiler: JIT compiler is introduced to remove the drawback of the interpreter. It
increases the speed of execution and improves performance.
 Garbage Collector : The garbage collector is used to manage the memory, and it is a
program written in Java. It works in two phases, i.e., Mark and Sweep.
 Java Native Interface : Java Native Interface works as a mediator between Java
method calls and native libraries.
JAVA RUNTIME ENVIRONMENT(JRE)
 It provides an environment in which Java programs are executed.
 JRE takes our Java code, integrates it with the required libraries, and then starts the
JVM to execute it.
THANK YOU

More Related Content

PPTX
java intro.pptx
PPTX
Lecture java variable , data type, token
PDF
JAVA Program Examples
PPTX
JRE , JDK and platform independent nature of JAVA
PPT
Java2020 programming basics and fundamentals
PPTX
2 22CA026_Advance Java Programming_Data types and Operators.pptx
PDF
Javanotes ww8
java intro.pptx
Lecture java variable , data type, token
JAVA Program Examples
JRE , JDK and platform independent nature of JAVA
Java2020 programming basics and fundamentals
2 22CA026_Advance Java Programming_Data types and Operators.pptx
Javanotes ww8

Similar to JAVA ARCHITECTURES PPT | "Mastering Java: A Comprehensive Guide to Core Concepts, Object-Oriented Programming, Advanced Features, and Real-World Applications in Just One Presentation" (20)

DOCX
Java JDK.docx
PDF
Java unit 1
PPTX
Java virtual machine
PPT
Java & J2EE Struts with Hibernate Framework
PDF
Java Virtual Machine - Internal Architecture
PPT
Core java slides
PPTX
Unit1 JAVA.pptx
PDF
Internal working JVM
PPT
J2ee strutswithhibernate-140121221332-phpapp01
PDF
Advanced java training in bangalore
PDF
Advanced java-training-in-bangalore
PDF
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
PDF
JVM Architecture – How It Works.pdf
PDF
JAVA for Every one
PPTX
Java the reason behind its never ending demand
PPTX
Java ms harsha
PDF
Download Free Java Notes PDF for Easy Learning
Java JDK.docx
Java unit 1
Java virtual machine
Java & J2EE Struts with Hibernate Framework
Java Virtual Machine - Internal Architecture
Core java slides
Unit1 JAVA.pptx
Internal working JVM
J2ee strutswithhibernate-140121221332-phpapp01
Advanced java training in bangalore
Advanced java-training-in-bangalore
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
JVM Architecture – How It Works.pdf
JAVA for Every one
Java the reason behind its never ending demand
Java ms harsha
Download Free Java Notes PDF for Easy Learning
Ad

Recently uploaded (20)

PDF
Visual explanation of Dijkstra's Algorithm using Python
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PPTX
Tech Workshop Escape Room Tech Workshop
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
PDF
Salesforce Agentforce AI Implementation.pdf
PPTX
Computer Software - Technology and Livelihood Education
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PPTX
Download Adobe Photoshop Crack 2025 Free
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
PDF
Topaz Photo AI Crack New Download (Latest 2025)
PDF
Autodesk AutoCAD Crack Free Download 2025
PPTX
Introduction to Windows Operating System
PDF
E-Commerce Website Development Companyin india
PDF
novaPDF Pro 11.9.482 Crack + License Key [Latest 2025]
PPTX
Trending Python Topics for Data Visualization in 2025
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
PDF
MCP Security Tutorial - Beginner to Advanced
Visual explanation of Dijkstra's Algorithm using Python
How to Use SharePoint as an ISO-Compliant Document Management System
Tech Workshop Escape Room Tech Workshop
Weekly report ppt - harsh dattuprasad patel.pptx
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
Salesforce Agentforce AI Implementation.pdf
Computer Software - Technology and Livelihood Education
How Tridens DevSecOps Ensures Compliance, Security, and Agility
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Download Adobe Photoshop Crack 2025 Free
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
Topaz Photo AI Crack New Download (Latest 2025)
Autodesk AutoCAD Crack Free Download 2025
Introduction to Windows Operating System
E-Commerce Website Development Companyin india
novaPDF Pro 11.9.482 Crack + License Key [Latest 2025]
Trending Python Topics for Data Visualization in 2025
Wondershare Recoverit Full Crack New Version (Latest 2025)
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
MCP Security Tutorial - Beginner to Advanced
Ad

JAVA ARCHITECTURES PPT | "Mastering Java: A Comprehensive Guide to Core Concepts, Object-Oriented Programming, Advanced Features, and Real-World Applications in Just One Presentation"

  • 2. JAVAARCHITECTURE  Java Architecture is a collection of components, i.e.,  JVM  JRE  JDK  It integrates the process of interpretation and compilation. It defines all the processes involved in creating a Java program.  Java Architecture explains each and every step of how a program is compiled and executed.
  • 4. JAVA DEVELOPMENT KIT (JDK)  It is a software development environment used in the development of Java applications and applets.  Java Development Kit holds JRE, a compiler, an interpreter or loader, and several development tools in it.
  • 5. JAVA VIRTUAL MACHINE(JVM)  The main feature of Java is WORA. WORA stands for Write Once Run Anywhere.  The feature states that we can write our code once and use it anywhere or on any operating system.  Our Java program can run any of the platforms only because of the Java Virtual Machine.  It is a Java platform component that gives us an environment to execute java programs.  JVM's main task is to convert byte code into machine code.
  • 7.  Class Loader: Class Loader is a subsystem used to load class files. Class Loader first loads the Java code whenever we run it.  Class Method Area: In the memory, there is an area where the class data is stored during the code's execution. Class method area holds the information of static variables, static methods, static blocks, and instance methods.  Heap: The heap area is a part of the JVM memory and is created when the JVM starts up. Its size cannot be static because it increase or decrease during the application runs.  Stack: It is also referred to as thread stack. It is created for a single execution thread. The thread uses this area to store the elements like the partial result, local variable, data used for calling method and returns etc.
  • 8.  Native Stack: It contains the information of all the native methods used in our application.  Execution Engine: It is the central part of the JVM. Its main task is to execute the byte code and execute the Java classes. The execution engine has three main components used for executing Java classes.  Interpreter: It converts the byte code into native code and executes. It sequentially executes the code. The interpreter interprets continuously and even the same method multiple times.  JIT Compiler: JIT compiler is introduced to remove the drawback of the interpreter. It increases the speed of execution and improves performance.
  • 9.  Garbage Collector : The garbage collector is used to manage the memory, and it is a program written in Java. It works in two phases, i.e., Mark and Sweep.  Java Native Interface : Java Native Interface works as a mediator between Java method calls and native libraries.
  • 10. JAVA RUNTIME ENVIRONMENT(JRE)  It provides an environment in which Java programs are executed.  JRE takes our Java code, integrates it with the required libraries, and then starts the JVM to execute it.