Java Presentation
description
Transcript of Java Presentation
1
One Cup Of JavaPrepared by Amr Salah
Java Instructor AFLAK MASR
Monday, February 9th, 2009
2
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
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
• 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
6
Java Characteristi
cs
2nd Does : Java Characteristics
Cross PlatformObject-Oriented Paradigm
RobustGood Performance
Automatic Memory Management
7Java Characteristics
- 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
-
9
Java is WORA
Java Characteristics
10
2nd Does.2: Object-Oriented Paradigm
OOP is a Programming Paradigm
Every thing is an Object
OOP Concepts
OOP Axioms
Java Characteristics
• 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
12
2nd Does.4: OOP Concepts
• Class• Object• Message Passing • Encapsulation• Inheritance• Polymorphism • Modularity
OOP Paradigm
13
2nd Does.5: OOP Axioms
Flexible
Extensible
Reusable
OOP Paradigm
14
Java Terminology
• 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
16
Java
Platforms
17
4th Does: Java Platforms
• 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
• Application for limited Device .• Run on
– Mobile Devices such as cell phone .– PDAs .
19
4th Does.2: Java ME
Java Platforms
• Enterprise Software .• Focus on Business Logic .• Multitiered Architectures :
– Client Tier .– Web Tier.– Business Tier .– EIS Tier .
20
4th Does.3: Java EE
Java Platforms
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
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
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
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
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
26
Break 1 minute
27
Java Frameworks
+ Testing Tools. + Build Systems.
+ GUIs. + Persistence
+ IDEs. + Charting & Reporting
28
5th Does: Java Frameworks
Java Frameworks
• JUNIT .
29
5th Does.1: Testing Tools
Java Frameworks
• ANT .• MAVEN .
30
4th Does.2: Building Systems
Java Frameworks
• AWT ( Abstract Window Toolkit ) .• SWT ( Standard Window Toolkit ) .• Swing .• QT .
31
5th Does.3: GUIs
Java Frameworks
• Netbeans .• Eclipse .
32
5th Does.4: IDEs
Java Frameworks
• Hibernates .• iBATIS .
33
5th Does.5: Persistence
Java Frameworks
• JFreeChart .• JasperReport .
34
5th Does.6: Charting & Reporting
Java Frameworks
JAVA DIPLOMA COURSE
SCJP COURSE( SUN CERTIFIED JAVA PROGRAMMER )
35
So What after that ?!!
36
Thank You …
Email meMy Website