Java begin so we win

874 views

Published on

My Presentation in Honest Company

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
874
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
25
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Java begin so we win

  1. 1. JAVA Begin So We Win By Eng : Mohamed Mahmoud Youssef
  2. 2. JAVA Begin SO We Win By : Mohamed Mahmoud Youssef
  3. 3.  Agenda  1- JAVA , What ?!! 2- JAVA , Why ?!! 3- JAVA , When ?!! 4- JAVA slow ?!! 5- JAVA editions ... 6- JAVA , How ?!! 7- let us go …
  4. 4. • 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 .
  5. 5. 1- JAVA , What ?!! * - JAVA is a computer programming language created by Sun Microsystems which become apart of oracle company .
  6. 6. 1- JAVA , What ?!! * - JAVA is more than programming language it is technology .
  7. 7. 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 .
  8. 8. 2- JAVA , Why ?!! 1- Similar to C++ so it is familiar to commercial programmers.
  9. 9. 2- JAVA , Why ?!! 2- OOPlanguage .
  10. 10. 2- JAVA , Why ?!! 3- platform independent .
  11. 11. JAVA Prog Compiler JVM JVM JVM JVM MAC MVS UNIX Windows
  12. 12. The JVM … Non-virtual Machine Virtual Machine
  13. 13. 2- JAVA , Why ?!! 4- Has garbage collector .
  14. 14. 2- JAVA , Why ?!! 5- multithreaded .
  15. 15. 2- JAVA , Why ?!! 6- dynamic .
  16. 16. 2- JAVA , Why ?!! 7- more security than C&C++ .
  17. 17. 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 .
  18. 18. 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
  19. 19. 2- JAVA , Why ?!! 8- JAVA is technology .
  20. 20. Problem JAVA programming language JDK JAVA deployment tools JAVA Runtime Environment Program So JAVA is tech
  21. 21. 2- JAVA , Why ?!! 9- open source .
  22. 22. 3- JAVA , When ?!! *- At any time .
  23. 23. 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 .
  24. 24. 5- JAVA Editions … * - when java was introduced it primaly consists of two components i- programming language specification . ii- JRE specification . * - They described the JVM .
  25. 25. 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 .
  26. 26. 5- JAVA Editions … *- Sun grouped java editions into 1- JAVA SE . 2- JAVA EE . 3- JAVA ME .
  27. 27. 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
  28. 28. 7- Let us go … *- Simple programs
  29. 29. • So begin to win 
  30. 30. Development of the mind
  31. 31. Pride
  32. 32. Money
  33. 33. Q & A
  34. 34.  Thanks a lot  Eng : Mohamed Mahmoud Youssef . E-mail : mailto:ITHawye@gmail.com
  35. 35. GOoOdeBye To TOP …   

×