SlideShare a Scribd company logo
1
One Cup Of Java
  Prepared by Amr Salah
      Java Instructor
       AFLAK MASR
  Monday, February 9th, 2009

                               2
We will END our CUP into 5 Doses
     : Java Community Process.
      : Java Characteristics.
     : Java Terminology.
     : Java Platforms.
     : Java Frameworks.

                                   3
Name : James Gosling .
Born : May 19, 1955 (age 53) .
Residence : United States .
Alma mater : Carnegie Mellon University.
Occupation : Computer Scientist .
Employer : Sun Microsystems .
Known for : Father of Java .


“The Father of Java dismissed Microsoft's C# as having had potential, but no
   longer: "We were afraid they were going to do something really creative
              - but they're hopelessly focused on one platform."
      We have a balancing act: we need the simplicity but we also need
                                   power."

                                                                               4
1st Does: Java Community and Open Source
                           (JCP) – is a formalized process which allows interested
parties to get involved in the definition of future versions and features of the Java
platform.

                           (JSR) – the formal documents that describe proposed
specifications and technologies for adding to the Java platform

                        (Open Source) – In May 2007, in compliance with the
specifications of the java community process, Sun made available most of their
java technologies as free software under the GNU GPL ( General Public License )
that developed by Richard Stallman. In 1989, the first program-independent GNU
General Public License (GPL) was released .


                                                                                        5
Java
Characteristics
                  6
2nd Does : Java Characteristics
    Cross Platform
 Object-Oriented Paradigm

         Robust
   Good Performance
Automatic Memory Management
                                  7
-                    2nd Does.1: Cross Platform
 Platform : describes some sort of hardware architecture or software
  framework , that allows software to run.

 Typical platforms include a computer's architecture, operating
  system, programming languages and related runtime libraries or graphical user
  interface.

 Different Architecture .
 Different Operating System.

 Java is WORA ( Write Once Run Anywhere ) .


                                                                                  8
-   Java is WORA




                   9
2nd Does.2: Object-Oriented Paradigm

  OOP is a Programming Paradigm

     Every thing is an Object

         OOP Concepts

          OOP Axioms

                                       10
2nd Does.3: Programming Paradigm
• Is a Programming Language Style
• Programming Paradigm Types :
     –   Object-Oriented Paradigm
     –   Generics Paradigm
     –   Imperative Paradigm
     –   Logic Programming
     –   Reflective Paradigm

•   Java Support Four Programming Paradigms




                                                        11
2nd Does.4: OOP Concepts
•   Class
•   Object
•   Message Passing
•   Encapsulation
•   Inheritance
•   Polymorphism
•   Modularity



                                            12
2nd Does.5: OOP Axioms

      Flexible
    Extensible
     Reusable
                         13
Java
Terminology
              14
3rd Does: Java Terminology
                         (JVM) – An abstract machine architecture
specified by the Java Virtual Machine Specification .
                              (JRE) – A runtime environment which
implements Java Virtual Machine, and provides all class libraries
and other facilities (such as JNI) necessary to execute Java
programs. This is the software on your computer that actually runs
Java programs.
                          (JDK) – The basic tools necessary to
compile, document, and package Java programs (javac, javadoc, and
jar, respectively). The JDK includes a complete JRE.

                                                                     15
Java
Platforms
            16
4th Does: Java Platforms




                           17
4th Does.1: Java SE
• General Purpose Application .
• Runs on Desktop, Laptops .
• Includes a set of libraries for common programming needs
  like :
         • Network .
         • Database .
         • Etc .



                                                             18
4th Does.2: Java ME
• Application for limited Device .
• Run on
   – Mobile Devices such as cell phone .
   – PDAs .




                                           19
4th Does.3: Java EE
• Enterprise Software .
• Focus on Business Logic .
• Multitiered Architectures :
   –   Client Tier .
   –   Web Tier.
   –   Business Tier .
   –   EIS Tier .




                                               20
4th Does.3: (Client Tier )
Runs On Client Machines .


Web Application ( Thick client )

• Dynamic web pages generated by web component ( JSP & Servest ).


Application Client ( Thick Client )

• provides a way for users to handle tasks that require a richer user
  interface than can be provided by a markup language ( GUI, =>
  Swing, AWT).


                                                                        21
4th Does.3: (Web Tier)
Run on Web Server ( a part from J2EE Server ) to generate
Dynamic Content .

Servlets

• Java Classes that process request and construct response .

JSP ( Java Server Pages )

• Text-based Documents that executes as Servlets , but allow more natural
  approach .

JSF ( Java Server Faces )

• Provide UI component framework for Web Application above JSP & Servlets .


                                                                              22
4th Does.3: (Business Tier)
Runs on EJB Server ( as a part from J2EE server ) to expose
Business Logic to third party applications.


2- EJB Technology

2.1- MSG-Driven Beans

• Allow Business Component to send and receive Massage asynchronously


2.2- Session Beans

• Represent a transient conversational with Client .

                                                                        23
4th Does.3: (EIS Tier)
Enterprise Information System


EIS SW and Enterprise Infrastructure

• Handles Enterprise information System Software and Include Enterprise
  Infrastructure System .

Enterprise Infrastructure System likes :

• Database Systems .
• Legacy Information Systems .


                                                                          24
4th Does.3: (AS)
AS stands for “Application Server “ .


Application Server is

• In an n-tier architecture, is a server that hosts an API to expose business
  logic and business processes for use by third-party applications .

Examples of Application Servers

•   Redhat ( JBOSS )
•   IBM ( WebSphere )
•   Oracle ( Oracle OC4G )
•   SUN ( GlassFish )

                                                                                25
26
Java
Frameworks
             27
5th Does: Java Frameworks

+ Testing Tools.           + Build Systems.

+ GUIs.                    + Persistence

+ IDEs.                    + Charting & Reporting




                                                    28
5th Does.1: Testing Tools
• JUNIT .




                                        29
4th Does.2: Building Systems
• ANT .
• MAVEN .




                                           30
5th Does.3: GUIs
•   AWT ( Abstract Window Toolkit ) .
•   SWT ( Standard Window Toolkit ) .
•   Swing .
•   QT .




                                         31
5th Does.4: IDEs
• Netbeans .
• Eclipse .




                                  32
5th Does.5: Persistence
• Hibernates .
• iBATIS .




                                           33
5th Does.6: Charting & Reporting
• JFreeChart .
• JasperReport .




                                            34
So What after that ?!!




                         35
Email me
My Website



             36

More Related Content

PPTX
Training on Core java | PPT Presentation | Shravan Sanidhya
PDF
Introduction to Java
PPT
Introduction to Java Programming, Basic Structure, variables Data type, input...
PDF
Spring Data JPA
PPT
Java Programming for Designers
PPTX
Java Introduction
PDF
Introduction to Java Programming
PPTX
Introduction to JAVA
Training on Core java | PPT Presentation | Shravan Sanidhya
Introduction to Java
Introduction to Java Programming, Basic Structure, variables Data type, input...
Spring Data JPA
Java Programming for Designers
Java Introduction
Introduction to Java Programming
Introduction to JAVA

What's hot (20)

PPTX
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
PPTX
Introduction to Basic Java Versions and their features
PPTX
Core Java
 
PPTX
Introduction to java
PDF
Genesis and Overview of Java
PDF
What Is Java | Java Tutorial | Java Programming | Learn Java | Edureka
ODP
Basic of Java
PPTX
Introduction to spring boot
PPTX
Introduction to java
PPSX
Java & advanced java
PPTX
core java
PDF
Spring Boot
PPSX
Introduction of java
PPTX
Introduction to Java -unit-1
PDF
JPA and Hibernate
PPTX
Core java
PPTX
Java seminar
PPTX
Presentation on Core java
PPT
Java Presentation
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
Introduction to Basic Java Versions and their features
Core Java
 
Introduction to java
Genesis and Overview of Java
What Is Java | Java Tutorial | Java Programming | Learn Java | Edureka
Basic of Java
Introduction to spring boot
Introduction to java
Java & advanced java
core java
Spring Boot
Introduction of java
Introduction to Java -unit-1
JPA and Hibernate
Core java
Java seminar
Presentation on Core java
Java Presentation
Ad

Similar to Java Presentation (20)

PPT
PPS Java Overview Unit I.ppt
PPT
PPS Java Overview Unit I.ppt
PPT
Object oriented programming_Unit1_Introduction.ppt
PPTX
Object Oriented Programming Part 1 of Unit 1
PPTX
JAVAPart1_BasicIntroduction.pptx
PPTX
JAVA_Day1_BasicIntroduction.pptx
PPT
JavaClassPresentation
PPTX
1 Module 1 Introduction.pptx
PPTX
Session 02 - Elements of Java Language
PPT
j-chap1-Basics.ppt
PPTX
Java session2
PDF
Unit 1 Core Java for Compter Science 3rd
PPT
Great Cup od Java
PPTX
java slides
PPTX
Great cup of java
PPTX
java basics concepts and the keywords needed
PPSX
Elements of Java Language
PPTX
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
PPTX
C,c++,java,php,.net training institute in delhi, best training institute for ...
PPTX
Introduction to java
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
Object oriented programming_Unit1_Introduction.ppt
Object Oriented Programming Part 1 of Unit 1
JAVAPart1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
JavaClassPresentation
1 Module 1 Introduction.pptx
Session 02 - Elements of Java Language
j-chap1-Basics.ppt
Java session2
Unit 1 Core Java for Compter Science 3rd
Great Cup od Java
java slides
Great cup of java
java basics concepts and the keywords needed
Elements of Java Language
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
C,c++,java,php,.net training institute in delhi, best training institute for ...
Introduction to java
Ad

More from Amr Salah (11)

PPTX
Session
PPTX
Integration & Microservices
PPTX
Introduction to Security (Hardware, Software, Data & Policies)
PPTX
Cryotocurrency & blockchain
PPTX
Agile
PDF
ADF - eCertificate
DOCX
Amr Salah - Senior Oracle FMW
PDF
BPM_eCertificate
PPTX
Java enterprise paradise
PPTX
Journey to the center of the software industry world
PPT
Get That Job
Session
Integration & Microservices
Introduction to Security (Hardware, Software, Data & Policies)
Cryotocurrency & blockchain
Agile
ADF - eCertificate
Amr Salah - Senior Oracle FMW
BPM_eCertificate
Java enterprise paradise
Journey to the center of the software industry world
Get That Job

Recently uploaded (20)

PPTX
Revamp in MTO Odoo 18 Inventory - Odoo Slides
PPTX
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
DOCX
UPPER GASTRO INTESTINAL DISORDER.docx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
The Final Stretch: How to Release a Game and Not Die in the Process.
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
Pre independence Education in Inndia.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
PSYCHOLOGY IN EDUCATION.pdf ( nice pdf ...)
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Revamp in MTO Odoo 18 Inventory - Odoo Slides
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
O5-L3 Freight Transport Ops (International) V1.pdf
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
human mycosis Human fungal infections are called human mycosis..pptx
UPPER GASTRO INTESTINAL DISORDER.docx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
The Final Stretch: How to Release a Game and Not Die in the Process.
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Pre independence Education in Inndia.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Week 4 Term 3 Study Techniques revisited.pptx
PSYCHOLOGY IN EDUCATION.pdf ( nice pdf ...)
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...

Java Presentation

  • 1. 1
  • 2. One Cup Of Java Prepared by Amr Salah Java Instructor AFLAK MASR Monday, February 9th, 2009 2
  • 3. We will END our CUP into 5 Doses : Java Community Process. : Java Characteristics. : Java Terminology. : Java Platforms. : Java Frameworks. 3
  • 4. Name : James Gosling . Born : May 19, 1955 (age 53) . Residence : United States . Alma mater : Carnegie Mellon University. Occupation : Computer Scientist . Employer : Sun Microsystems . Known for : Father of Java . “The Father of Java dismissed Microsoft's C# as having had potential, but no longer: "We were afraid they were going to do something really creative - but they're hopelessly focused on one platform." We have a balancing act: we need the simplicity but we also need power." 4
  • 5. 1st Does: Java Community and Open Source (JCP) – is a formalized process which allows interested parties to get involved in the definition of future versions and features of the Java platform. (JSR) – the formal documents that describe proposed specifications and technologies for adding to the Java platform (Open Source) – In May 2007, in compliance with the specifications of the java community process, Sun made available most of their java technologies as free software under the GNU GPL ( General Public License ) that developed by Richard Stallman. In 1989, the first program-independent GNU General Public License (GPL) was released . 5
  • 7. 2nd Does : Java Characteristics Cross Platform Object-Oriented Paradigm Robust Good Performance Automatic Memory Management 7
  • 8. - 2nd Does.1: Cross Platform  Platform : describes some sort of hardware architecture or software framework , that allows software to run.  Typical platforms include a computer's architecture, operating system, programming languages and related runtime libraries or graphical user interface.  Different Architecture .  Different Operating System.  Java is WORA ( Write Once Run Anywhere ) . 8
  • 9. - Java is WORA 9
  • 10. 2nd Does.2: Object-Oriented Paradigm OOP is a Programming Paradigm Every thing is an Object OOP Concepts OOP Axioms 10
  • 11. 2nd Does.3: Programming Paradigm • Is a Programming Language Style • Programming Paradigm Types : – Object-Oriented Paradigm – Generics Paradigm – Imperative Paradigm – Logic Programming – Reflective Paradigm • Java Support Four Programming Paradigms 11
  • 12. 2nd Does.4: OOP Concepts • Class • Object • Message Passing • Encapsulation • Inheritance • Polymorphism • Modularity 12
  • 13. 2nd Does.5: OOP Axioms Flexible Extensible Reusable 13
  • 15. 3rd Does: Java Terminology (JVM) – An abstract machine architecture specified by the Java Virtual Machine Specification . (JRE) – A runtime environment which implements Java Virtual Machine, and provides all class libraries and other facilities (such as JNI) necessary to execute Java programs. This is the software on your computer that actually runs Java programs. (JDK) – The basic tools necessary to compile, document, and package Java programs (javac, javadoc, and jar, respectively). The JDK includes a complete JRE. 15
  • 17. 4th Does: Java Platforms 17
  • 18. 4th Does.1: Java SE • General Purpose Application . • Runs on Desktop, Laptops . • Includes a set of libraries for common programming needs like : • Network . • Database . • Etc . 18
  • 19. 4th Does.2: Java ME • Application for limited Device . • Run on – Mobile Devices such as cell phone . – PDAs . 19
  • 20. 4th Does.3: Java EE • Enterprise Software . • Focus on Business Logic . • Multitiered Architectures : – Client Tier . – Web Tier. – Business Tier . – EIS Tier . 20
  • 21. 4th Does.3: (Client Tier ) Runs On Client Machines . Web Application ( Thick client ) • Dynamic web pages generated by web component ( JSP & Servest ). Application Client ( Thick Client ) • provides a way for users to handle tasks that require a richer user interface than can be provided by a markup language ( GUI, => Swing, AWT). 21
  • 22. 4th Does.3: (Web Tier) Run on Web Server ( a part from J2EE Server ) to generate Dynamic Content . Servlets • Java Classes that process request and construct response . JSP ( Java Server Pages ) • Text-based Documents that executes as Servlets , but allow more natural approach . JSF ( Java Server Faces ) • Provide UI component framework for Web Application above JSP & Servlets . 22
  • 23. 4th Does.3: (Business Tier) Runs on EJB Server ( as a part from J2EE server ) to expose Business Logic to third party applications. 2- EJB Technology 2.1- MSG-Driven Beans • Allow Business Component to send and receive Massage asynchronously 2.2- Session Beans • Represent a transient conversational with Client . 23
  • 24. 4th Does.3: (EIS Tier) Enterprise Information System EIS SW and Enterprise Infrastructure • Handles Enterprise information System Software and Include Enterprise Infrastructure System . Enterprise Infrastructure System likes : • Database Systems . • Legacy Information Systems . 24
  • 25. 4th Does.3: (AS) AS stands for “Application Server “ . Application Server is • In an n-tier architecture, is a server that hosts an API to expose business logic and business processes for use by third-party applications . Examples of Application Servers • Redhat ( JBOSS ) • IBM ( WebSphere ) • Oracle ( Oracle OC4G ) • SUN ( GlassFish ) 25
  • 26. 26
  • 28. 5th Does: Java Frameworks + Testing Tools. + Build Systems. + GUIs. + Persistence + IDEs. + Charting & Reporting 28
  • 29. 5th Does.1: Testing Tools • JUNIT . 29
  • 30. 4th Does.2: Building Systems • ANT . • MAVEN . 30
  • 31. 5th Does.3: GUIs • AWT ( Abstract Window Toolkit ) . • SWT ( Standard Window Toolkit ) . • Swing . • QT . 31
  • 32. 5th Does.4: IDEs • Netbeans . • Eclipse . 32
  • 33. 5th Does.5: Persistence • Hibernates . • iBATIS . 33
  • 34. 5th Does.6: Charting & Reporting • JFreeChart . • JasperReport . 34
  • 35. So What after that ?!! 35