1) The document discusses Java concepts across 5 doses: the Java Community Process, Java characteristics, terminology, platforms, and frameworks.
2) It covers key Java characteristics like being cross-platform, using object-oriented programming, having robust and good performance, and automatic memory management.
3) Important Java terminology is defined, like the Java Virtual Machine (JVM), Java Runtime Environment (JRE), and Java Development Kit (JDK).
4) The main Java platforms - Java SE, Java ME, and Java EE - are outlined, describing their uses for general applications, limited devices, and enterprise software respectively.
5) Popular Java frameworks for testing, building, GUIs, IDE
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
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
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