Top Banner
1
36

Java Presentation

Nov 16, 2014

Download

Education

Amr Salah

What is Java
- Java Characteristics
- Java Platforms
- Java Frameworks
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Java Presentation

1

Page 2: Java Presentation

One Cup Of JavaPrepared by Amr Salah

Java Instructor AFLAK MASR

Monday, February 9th, 2009

2

Page 3: Java Presentation

We will END our CUP into 5 Doses• 1st Dose : Java Community Process.• 2nd Dose : Java Characteristics.• 3rd Dose : Java Terminology.• 4th Dose : Java Platforms.• 5th Dose : Java Frameworks.

3

Page 4: Java Presentation

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

Page 5: Java Presentation

• Java Community Process (JCP) – is a formalized process which allows interested parties to get involved in the definition of future versions and features of the Java platform.

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

• Java & Open Source (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

1st Does: Java Community and Open Source

Page 6: Java Presentation

6

Java Characteristi

cs

Page 7: Java Presentation

2nd Does : Java Characteristics

Cross PlatformObject-Oriented Paradigm

RobustGood Performance

Automatic Memory Management

7Java Characteristics

Page 8: Java Presentation

- 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

2nd Does.1: Cross Platform

Java Characteristics

Page 9: Java Presentation

-

9

Java is WORA

Java Characteristics

Page 10: Java Presentation

10

2nd Does.2: Object-Oriented Paradigm

OOP is a Programming Paradigm

Every thing is an Object

OOP Concepts

OOP Axioms

Java Characteristics

Page 11: Java Presentation

• 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.3: Programming Paradigm

OOP Paradigm

Page 12: Java Presentation

12

2nd Does.4: OOP Concepts

• Class• Object• Message Passing • Encapsulation• Inheritance• Polymorphism • Modularity

OOP Paradigm

Page 13: Java Presentation

13

2nd Does.5: OOP Axioms

Flexible

Extensible

Reusable

OOP Paradigm

Page 14: Java Presentation

14

Java Terminology

Page 15: Java Presentation

• Java Virtual Machine (JVM) – An abstract machine architecture specified by the Java Virtual Machine Specification .

• Java Runtime Environment (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.

• Java Development Kit (JDK) – The basic tools necessary to compile, document, and package Java programs (javac, javadoc, and jar, respectively). The JDK includes a complete JRE.

15

3rd Does: Java Terminology

Java Terminology

Page 16: Java Presentation

16

Java

Platforms

Page 17: Java Presentation

17

4th Does: Java Platforms

Page 18: Java Presentation

• General Purpose Application .• Runs on Desktop, Laptops .• Includes a set of libraries for common programming needs

like :• Network .• Database .• Etc .

18

4th Does.1: Java SE

Java Platforms

Page 19: Java Presentation

• Application for limited Device .• Run on

– Mobile Devices such as cell phone .– PDAs .

19

4th Does.2: Java ME

Java Platforms

Page 20: Java Presentation

• Enterprise Software .• Focus on Business Logic .• Multitiered Architectures :

– Client Tier .– Web Tier.– Business Tier .– EIS Tier .

20

4th Does.3: Java EE

Java Platforms

Page 21: Java Presentation

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).

Java EE Platform

Page 22: Java Presentation

22

4th Does.3: (Web Tier)

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 .

Run on Web Server ( a part from J2EE Server ) to generate Dynamic Content .

Java EE Platform

Page 23: Java Presentation

23

4th Does.3: (Business Tier)

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 .

Runs on EJB Server ( as a part from J2EE server ) to expose Business Logic to third party applications.

Java EE Platform

Page 24: Java Presentation

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 .

Java EE Platform

Page 25: Java Presentation

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 )

Java EE Platform

Page 26: Java Presentation

26

Break 1 minute

Page 27: Java Presentation

27

Java Frameworks

Page 28: Java Presentation

+ Testing Tools. + Build Systems.

+ GUIs. + Persistence

+ IDEs. + Charting & Reporting

28

5th Does: Java Frameworks

Java Frameworks

Page 29: Java Presentation

• JUNIT .

29

5th Does.1: Testing Tools

Java Frameworks

Page 30: Java Presentation

• ANT .• MAVEN .

30

4th Does.2: Building Systems

Java Frameworks

Page 31: Java Presentation

• AWT ( Abstract Window Toolkit ) .• SWT ( Standard Window Toolkit ) .• Swing .• QT .

31

5th Does.3: GUIs

Java Frameworks

Page 32: Java Presentation

• Netbeans .• Eclipse .

32

5th Does.4: IDEs

Java Frameworks

Page 33: Java Presentation

• Hibernates .• iBATIS .

33

5th Does.5: Persistence

Java Frameworks

Page 34: Java Presentation

• JFreeChart .• JasperReport .

34

5th Does.6: Charting & Reporting

Java Frameworks

Page 35: Java Presentation

JAVA DIPLOMA COURSE

SCJP COURSE( SUN CERTIFIED JAVA PROGRAMMER )

35

So What after that ?!!