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 (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

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...anshkhurana01
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxMurugesh33
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxMurugesh33
 
Introduction to java programming tutorial
Introduction to java programming   tutorialIntroduction to java programming   tutorial
Introduction to java programming tutorialjackschitze
 
Introduction to java
Introduction to java Introduction to java
Introduction to java Java Lover
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkMohit Belwal
 
Java Evolution-2.pdf
Java Evolution-2.pdfJava Evolution-2.pdf
Java Evolution-2.pdfkumari36
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programmingElizabeth Thomas
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDFGeekster
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01Jay Palit
 
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...Mr. Akaash
 
Lec 1-of-oop2
Lec 1-of-oop2Lec 1-of-oop2
Lec 1-of-oop2SM Rasel
 
Java Programming 100 Programming Challenges
Java Programming 100 Programming ChallengesJava Programming 100 Programming Challenges
Java Programming 100 Programming ChallengesJavier Crisostomo
 

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

Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 

Dernier (20)

Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 

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 …   