SlideShare une entreprise Scribd logo
1  sur  37
JAVA Begin So We Win
By Eng : Mohamed Mahmoud Youssef
JAVA Begin SO We Win
By : Mohamed Mahmoud Youssef
 Agenda 
1- JAVA , What ?!!
2- JAVA , Why ?!!
3- JAVA , When ?!!
4- JAVA slow ?!!
5- JAVA editions ...
6- JAVA , How ?!!
7- let us go …
• James Gosling
- Gosling left IBM in 1984 to join
Sun, first he chose C++. But he
soon gave up on C++ .
- Then he started to modify C++ .
- Then created JAVA .
1- JAVA , What ?!!
* - JAVA is a computer programming language created by Sun
Microsystems which become apart of oracle company .
1- JAVA , What ?!!
* - JAVA is more than programming language it is
technology .
2- JAVA , Why ?!!
1- Similar to C++ so it is familiar to commercial programmers.
2- OOPlanguage .
3- platform independent .
4- Has garbage collector .
5- multithreaded .
6- Dynamic .
7- more security than C&C++ .
8- JAVA is technology .
9- open source .
2- JAVA , Why ?!!
1- Similar to C++ so it is familiar to commercial
programmers.
2- JAVA , Why ?!!
2- OOPlanguage .
2- JAVA , Why ?!!
3- platform independent .
JAVA Prog
Compiler
JVM JVM JVM JVM
MAC MVS UNIX Windows
The JVM …
Non-virtual Machine Virtual Machine
2- JAVA , Why ?!!
4- Has garbage collector .
2- JAVA , Why ?!!
5- multithreaded .
2- JAVA , Why ?!!
6- dynamic .
2- JAVA , Why ?!!
7- more security than C&C++ .
High security
* - To write java program :
1- write in a Text Editor .
2- compiler creates bytecode .
3- “ class loader “ places the ( .class file ) in memory .
4- “ byetcode verifer “ makes sure the code adhere to the rules
of java security .
5- The “JVM” interpreter reads bytecode and makes platform
native code .
Primary
Memory
.
.
.
.
.
.
Disk
Disk
Disk
Editor
Compiler
Class Loader
Program is created in an
editor and stored on disk
in a file ending with
.java.
Compiler creates
bytecodes and stores
them on disk in a file
ending with .class.
Class loader
reads .class
files containing
bytecodes from
disk and puts
those bytecodes
in memory.
Phase 1
Phase 2
Phase 3
Primary
Memory
.
.
.
.
.
.
Bytecode Verifier
Bytecode verifier
confirms that all
bytecodes are
valid and do not
violate Java’s
security
restrictions.
Phase 4
Primary
Memory
.
.
.
.
.
.
Interpreter
Interpreter reads
bytecodes and
translates them into a
language that the
computer can
understand, possibly
storing data values as
the program
executes.
Phase 5
2- JAVA , Why ?!!
8- JAVA is technology .
Problem
JAVA programming language
JDK
JAVA deployment tools
JAVA Runtime Environment
Program So JAVA is tech
2- JAVA , Why ?!!
9- open source .
3- JAVA , When ?!!
*- At any time .
4- JAVA , slow !!!
* - JIT compiler .
* - JIT actually takes your byte code and translated it into native
code
This translated code will run just as fast as any C++ program .
5- JAVA Editions …
* - when java was introduced it primaly consists of two
components
i- programming language specification .
ii- JRE specification .
* - They described the JVM .
5- JAVA Editions …
*- when java evolved sun added new specifications and techs that
made java more than a programming language .
* For example *
- Servlets and JSP provided to create dynamic web pages .
- EJB (enterprise java beans) provided for developing distributed
applications .
And more adds which make java more than programming language .
- RMI .
5- JAVA Editions …
*- Sun grouped java editions into
1- JAVA SE .
2- JAVA EE .
3- JAVA ME .
6- JAVA , How ?!!
*- requirements …
1- Editor :
- Notepad .
- Notepad++ .
- Textpad++ .
- Jext .
- Jedit .
- Eclipce .
- Net beans .
- Jcreator .
2- JAVA compiler (JDK) .
http://www.sun.com
http://www.oracle.com/us/sun/index.html
7- Let us go …
*- Simple programs
• So begin to win 
Development of the mind
Pride
Money
Q & A
 Thanks a lot 
Eng : Mohamed Mahmoud Youssef .
E-mail : mailto:ITHawye@gmail.com
GOoOdeBye To TOP …   

Contenu connexe

Tendances

Tendances (20)

Jvm
JvmJvm
Jvm
 
Evolution of java
Evolution of javaEvolution of java
Evolution of java
 
Evolution of java By Abbas khan
Evolution of java   By Abbas khan Evolution of java   By Abbas khan
Evolution of java By Abbas khan
 
2. hello java
2. hello java2. hello java
2. hello java
 
02 java programming features of java i
02 java programming features of java  i02 java programming features of java  i
02 java programming features of java i
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
 
The Java Story
The Java StoryThe Java Story
The Java Story
 
Java introduction with JVM architecture
Java introduction with JVM architectureJava introduction with JVM architecture
Java introduction with JVM architecture
 
The Evolution of Java
The Evolution of JavaThe Evolution of Java
The Evolution of Java
 
Introduction to JAVA
Introduction to JAVAIntroduction to JAVA
Introduction to JAVA
 
JRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVAJRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVA
 
Jvm (1)
Jvm (1)Jvm (1)
Jvm (1)
 
JVM Bytecodes
JVM BytecodesJVM Bytecodes
JVM Bytecodes
 
Jvm
JvmJvm
Jvm
 
Java Development Kit (jdk)
Java Development Kit (jdk)Java Development Kit (jdk)
Java Development Kit (jdk)
 
Jvm
JvmJvm
Jvm
 
Beam me up, Scotty
Beam me up, ScottyBeam me up, Scotty
Beam me up, Scotty
 
Past, present, and future of web assembly - Devfest Nantes 2017
Past, present, and future of web assembly - Devfest Nantes 2017Past, present, and future of web assembly - Devfest Nantes 2017
Past, present, and future of web assembly - Devfest Nantes 2017
 
QSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and JitQSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and Jit
 
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
Java Virtual Machine (JVM), Difference JDK, JRE & JVMJava Virtual Machine (JVM), Difference JDK, JRE & JVM
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
 

Similaire à Java begin so we win

JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 

Similaire à Java begin so we win (20)

Java unit 1
Java unit 1Java unit 1
Java unit 1
 
Best java courses in navi mumbai best classes for java in navi mumbai-java cl...
Best java courses in navi mumbai best classes for java in navi mumbai-java cl...Best java courses in navi mumbai best classes for java in navi mumbai-java cl...
Best java courses in navi mumbai best classes for java in navi mumbai-java cl...
 
FEATURES OF JAVA
FEATURES OF JAVAFEATURES OF JAVA
FEATURES OF JAVA
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
 
Introduction to java programming tutorial
Introduction to java programming   tutorialIntroduction to java programming   tutorial
Introduction to java programming tutorial
 
intoduction to java
intoduction to javaintoduction to java
intoduction to java
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
 
Java Evolution-2.pdf
Java Evolution-2.pdfJava Evolution-2.pdf
Java Evolution-2.pdf
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDF
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
 
Intro to Java Technology
Intro to Java TechnologyIntro to Java Technology
Intro to Java Technology
 
Java essential notes
Java essential notesJava essential notes
Java essential notes
 
Lec 3 01_aug13
Lec 3 01_aug13Lec 3 01_aug13
Lec 3 01_aug13
 
Lec 1-of-oop2
Lec 1-of-oop2Lec 1-of-oop2
Lec 1-of-oop2
 
Java Programming 100 Programming Challenges
Java Programming 100 Programming ChallengesJava Programming 100 Programming Challenges
Java Programming 100 Programming Challenges
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

Java begin so we win

  • 1. JAVA Begin So We Win By Eng : Mohamed Mahmoud Youssef
  • 2. JAVA Begin SO We Win By : Mohamed Mahmoud Youssef
  • 3.
  • 4.  Agenda  1- JAVA , What ?!! 2- JAVA , Why ?!! 3- JAVA , When ?!! 4- JAVA slow ?!! 5- JAVA editions ... 6- JAVA , How ?!! 7- let us go …
  • 5. • James Gosling - Gosling left IBM in 1984 to join Sun, first he chose C++. But he soon gave up on C++ . - Then he started to modify C++ . - Then created JAVA .
  • 6. 1- JAVA , What ?!! * - JAVA is a computer programming language created by Sun Microsystems which become apart of oracle company .
  • 7. 1- JAVA , What ?!! * - JAVA is more than programming language it is technology .
  • 8. 2- JAVA , Why ?!! 1- Similar to C++ so it is familiar to commercial programmers. 2- OOPlanguage . 3- platform independent . 4- Has garbage collector . 5- multithreaded . 6- Dynamic . 7- more security than C&C++ . 8- JAVA is technology . 9- open source .
  • 9. 2- JAVA , Why ?!! 1- Similar to C++ so it is familiar to commercial programmers.
  • 10. 2- JAVA , Why ?!! 2- OOPlanguage .
  • 11. 2- JAVA , Why ?!! 3- platform independent .
  • 12. JAVA Prog Compiler JVM JVM JVM JVM MAC MVS UNIX Windows
  • 13. The JVM … Non-virtual Machine Virtual Machine
  • 14. 2- JAVA , Why ?!! 4- Has garbage collector .
  • 15. 2- JAVA , Why ?!! 5- multithreaded .
  • 16. 2- JAVA , Why ?!! 6- dynamic .
  • 17. 2- JAVA , Why ?!! 7- more security than C&C++ .
  • 18. High security * - To write java program : 1- write in a Text Editor . 2- compiler creates bytecode . 3- “ class loader “ places the ( .class file ) in memory . 4- “ byetcode verifer “ makes sure the code adhere to the rules of java security . 5- The “JVM” interpreter reads bytecode and makes platform native code .
  • 19. Primary Memory . . . . . . Disk Disk Disk Editor Compiler Class Loader Program is created in an editor and stored on disk in a file ending with .java. Compiler creates bytecodes and stores them on disk in a file ending with .class. Class loader reads .class files containing bytecodes from disk and puts those bytecodes in memory. Phase 1 Phase 2 Phase 3 Primary Memory . . . . . . Bytecode Verifier Bytecode verifier confirms that all bytecodes are valid and do not violate Java’s security restrictions. Phase 4 Primary Memory . . . . . . Interpreter Interpreter reads bytecodes and translates them into a language that the computer can understand, possibly storing data values as the program executes. Phase 5
  • 20. 2- JAVA , Why ?!! 8- JAVA is technology .
  • 21. Problem JAVA programming language JDK JAVA deployment tools JAVA Runtime Environment Program So JAVA is tech
  • 22. 2- JAVA , Why ?!! 9- open source .
  • 23. 3- JAVA , When ?!! *- At any time .
  • 24. 4- JAVA , slow !!! * - JIT compiler . * - JIT actually takes your byte code and translated it into native code This translated code will run just as fast as any C++ program .
  • 25. 5- JAVA Editions … * - when java was introduced it primaly consists of two components i- programming language specification . ii- JRE specification . * - They described the JVM .
  • 26. 5- JAVA Editions … *- when java evolved sun added new specifications and techs that made java more than a programming language . * For example * - Servlets and JSP provided to create dynamic web pages . - EJB (enterprise java beans) provided for developing distributed applications . And more adds which make java more than programming language . - RMI .
  • 27. 5- JAVA Editions … *- Sun grouped java editions into 1- JAVA SE . 2- JAVA EE . 3- JAVA ME .
  • 28. 6- JAVA , How ?!! *- requirements … 1- Editor : - Notepad . - Notepad++ . - Textpad++ . - Jext . - Jedit . - Eclipce . - Net beans . - Jcreator . 2- JAVA compiler (JDK) . http://www.sun.com http://www.oracle.com/us/sun/index.html
  • 29. 7- Let us go … *- Simple programs
  • 30. • So begin to win 
  • 32. Pride
  • 33. Money
  • 34. Q & A
  • 35.
  • 36.  Thanks a lot  Eng : Mohamed Mahmoud Youssef . E-mail : mailto:ITHawye@gmail.com
  • 37. GOoOdeBye To TOP …   