SlideShare une entreprise Scribd logo
1  sur  44
Understanding Java Related Platforms and
Integration Technologies

1
Understanding Java Platforms
• Exam Objective 6.1 Distinguish the basic characteristics
of the three Java platforms: J2SE, J2ME, and J2EE, and
given a high-level architectural goal, select the
appropriate Java platform or platforms.

2
3
What Is the J2EE?




Open and standard based platform for
developing, deploying and managing
n-tier, Web-enabled, server-centric, and
component-based enterprise applications

4
The Java™ Platform

Java Technology
Enabled Devices

Java Technology
Enabled Desktop

Workgroup
Server

High-End
Server

5
The JavaTM Platform
Java 2 Platform Micro Edition
(J2METM)

Optional
Packages
Optional
Packages

Java 2
Enterprise
Edition
(J2EE)

Java 2
Standard
Edition
(J2SE)

Personal
Basis Profile

Personal
Profile

Foundation Profile
CDC

JVM

MIDP
CLDC
KVM

* Under development in JCP

Java
Card
APIs
CardVM

6
The Java Runtime Environment
Java Hotspot Client Virtual Machine
Java Hotspot Server Virtual Machine
Adaptive compiler
Improved memory allocation and garbage collection

Thread synchronization

7
8
Deployment Technologies
• Java Plug-in :
Java Plug-in technology, included as part of the Java
Runtime Environment, Standard Edition (Java SE),
establishes a connection between popular browsers and
the Java platform. This connection enables applets on
Web sites to be run within a browser on the desktop.

9
Java Web Start Technology
• Using Java Web Start technology, standalone Java
software applications can be deployed with a single click
over the network.
• Java Web Start ensures the most current version of the
application will be deployed, as well as the correct version
of the Java Runtime Environment (JRE).

10
Java Control Panel
• It allows you to view and set a wide range of parameters
controlling how Java runs on your computer.

11
Java Update Mechanism
• The Java Update is a feature that keeps your computer
up-to-date automatically with the latest Java releases.
• Installing the Java Runtime Environment automatically
installs the Java Update feature.

12
The Java Development Kit

13
Java 2 Platform, Micro Edition

14
Configurations
• Java ME has two configurations: the Connected Device
Configuration (CDC) and the Connected Limited Device
Configuration (CLDC).
• These configurations contain a virtual machine containing
a small but focused set of libraries making up the runtime
environment

15
Profiles
• Profiles are necessary to work in conjunction with
configurations as part of the necessary runtime
environment.
• Profiles are APIs that define the application‘s life-cycle
model, user interface, and device properties access.
• CDC contains the Foundation Profile (FP), the Personal
Profile (PP), and the Personal Basis Profile (PBP).
• PBP is a subset of PP.
• The CLDC contains the Mobile Information Device Profile
(MIDP) and the Information Module Profile (IMP).
• IMP is a subset of MIDP.
16
Java Platform Enterprise Edition
• The Java Platform, Enterprise Edition provides a means
to create true enterprise systems that are flexible,
scalable, and secure.
• A major benefit of enterprise systems is the separation of
software components. Java EE follows the Model-ViewController (MVC) architecture where servlets work as the
controller, JavaServer Pages handle the view or
presentation logic, and the business logic is represented
as the model, typically the Enterprise JavaBeans (EJBs)

17
• A Java Specification Request (JSR) is the description of
Java platform–related specifications—proposed and final.
• Enterprise Java Beans 2.1
• Servlet 2.4
• JavaServer Pages 2.0
• Java Message Service 1.1
• JavaMail 1.3
• Web Services 1.1
• JAX RPC 1.1
18
19
Working with the Java Remote
Method Invocation API
• Exam Objective 6.2 Describe at a high level the benefits
and basic characteristics of RMI.

20
•Client stubs
The ‗rmic‘-created stub for the client side is called a ―stub.‖
When using JDK 1.4 and earlier versions (prior to JDK 5.0), you are required to use the ‗rmic‘ utility to
generate stub classes.
In JDK 5.0 and later, the RMI runtime generates the stub classes automatically (by constructing a proxy).
The client stub‘s marshal method calls the name and arguments and sends them to the skeleton on the
server side.
After they receive the results from the sender, they return the result back to the method call invoker.
•Server stubs (skeletons)
The ‗rmic‘-created stub for the server side is called a ―skeleton.‖
As of JDK 1.2 and later, skeletons are no longer needed.
The server stub‘s receive marshal method calls the name and arguments from the client stubs, performs the
necessary operations, and returns the result back to the client stub.

21
• Java Remote Method Invocation over Internet Inter-Orb
• Protocol (RMI-IIOP) is used for Java to non-Java distributed
computing solutions. Java-IDL is used by Common Object
Request Broker Architecture (CORBA) developers to provide a
CORBA to Java distributed computing solutions.
• You should not see RMI-IIOP or Java-IDL on the exam.

22
Working with Database Technologies
• Exam Objective 6.3 Describe at a high level the benefits
and basic characteristics of JDBC, SQL, and RDBMS
technologies.

23
Working with Database Technologies
• A Relational Database Management System (RDBMS) is
a type of database management system that organizes its
data in the form of interrelated tables.
>
>
>
>
>

Benefits of an RDMBS include the following:
Provides a persistent data store
Processes SQL queries
Manages users
Performs backups and restores

24
Structured Query Language
• Operations to support querying/retrieval of information from relational
databases.
• Operations to support modification for example, insertion, updating,
and deletion of information in relational databases.
• Operations to support the management of relational databases.
• Operations to support execution plans. An execution plan is
generated by the RDBMS to specify how it will execute a piece of
application code.
• Operations to support stored procedures. A stored procedure is a
piece of application code that is stored and executed within the
database.
• You will get an execution plan as a result of compiling a stored
procedure.
25
Working with Additional Java Integration APIs

• Exam Objective 6.4 Describe at a high level the benefits
and basic characteristics of JNDI, messaging, and JMS
technologies.

26
Integrating with naming and directory
services

27
• JNDI lays out its elements as a tree structure of directories and
objects.
• When creating a connection, you need to establish an initial
base context. Think of the context as the directory starting point
in the tree.
• You may change the context whenever you like.
• However, when the context is set, you can only traverse the
• downward portion of the tree when performing querying
operations.

28
• The Java Message Service (JMS) API resides in the javax.jms
package.
• This API is used to access the common features of enterprise
messaging systems. The JMS API allows for the creation,
sending, receiving, and reading of messages with Java EE
application components.
• All of this distributed-computing communications of separate
applications is done asynchronously this is essentially the
definition of a messaging system.

29
The Publish/Subscribe Messaging Model
• Publish/subscribe messaging is based on events. Consumers
subscribe to events of interest by specifying a topic that is part
of a set of messages.
• The producers of these messages will route these messages to
the consumers who register for them.
• The consumers will then consume the events when they arrive.

30
The Point-to-Point Messaging Model
• Point-to-point (PTP) messaging involves applications
routing messages to consumers while using a shared
queue.
• The consumer maintains this queue of awaiting
messages, and the messaging application sends
messages to that queue.

31
32
33
34
35
36
37
38
39
40
41
42
43
44

Contenu connexe

Tendances

J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architectureKrishna Mer
 
Ajava final(sachin sir9822506209)_vision_academy_21
Ajava final(sachin sir9822506209)_vision_academy_21Ajava final(sachin sir9822506209)_vision_academy_21
Ajava final(sachin sir9822506209)_vision_academy_21SachinZurange
 
Mobile Application Development MAD J2ME UNIT 2
Mobile Application Development  MAD J2ME UNIT 2Mobile Application Development  MAD J2ME UNIT 2
Mobile Application Development MAD J2ME UNIT 2Pallepati Vasavi
 
Intro in JavaEE world (TU Olomouc)
Intro in JavaEE world (TU Olomouc)Intro in JavaEE world (TU Olomouc)
Intro in JavaEE world (TU Olomouc)blahap
 
Introduction to java_ee
Introduction to java_eeIntroduction to java_ee
Introduction to java_eeYogesh Bindwal
 
A dynamic application using jboss
A dynamic application using jbossA dynamic application using jboss
A dynamic application using jbossijcax
 
Ibm web sphere_job_interview_preparation_guide
Ibm web sphere_job_interview_preparation_guideIbm web sphere_job_interview_preparation_guide
Ibm web sphere_job_interview_preparation_guideKhemnath Chauhan
 
Mobile Application Development MAD J2ME
Mobile Application Development  MAD J2MEMobile Application Development  MAD J2ME
Mobile Application Development MAD J2MEPallepati Vasavi
 
Web Sphere Administration guide – Packaging and Deploying Jee Applications
Web Sphere Administration guide – Packaging and Deploying Jee ApplicationsWeb Sphere Administration guide – Packaging and Deploying Jee Applications
Web Sphere Administration guide – Packaging and Deploying Jee ApplicationsGagandeep Singh
 
Introduction to Java EE (J2EE)
Introduction to Java EE (J2EE)Introduction to Java EE (J2EE)
Introduction to Java EE (J2EE)Atit Patumvan
 
Unit 5-jdbc2
Unit 5-jdbc2Unit 5-jdbc2
Unit 5-jdbc2msafad
 
Best Practices for Managing and Monitoring WebSphere Message Broker
Best Practices for Managing and Monitoring WebSphere Message BrokerBest Practices for Managing and Monitoring WebSphere Message Broker
Best Practices for Managing and Monitoring WebSphere Message BrokerCorrelsense
 
Introduction to java ee
Introduction to java eeIntroduction to java ee
Introduction to java eeRanjan Kumar
 
Java training noida hibernate+spring+struts+web services(1)
Java training noida hibernate+spring+struts+web services(1)Java training noida hibernate+spring+struts+web services(1)
Java training noida hibernate+spring+struts+web services(1)miracleindia
 
JDBC,Types of JDBC,Resultset, statements,PreparedStatement,CallableStatements...
JDBC,Types of JDBC,Resultset, statements,PreparedStatement,CallableStatements...JDBC,Types of JDBC,Resultset, statements,PreparedStatement,CallableStatements...
JDBC,Types of JDBC,Resultset, statements,PreparedStatement,CallableStatements...Pallepati Vasavi
 

Tendances (18)

J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architecture
 
Ajava final(sachin sir9822506209)_vision_academy_21
Ajava final(sachin sir9822506209)_vision_academy_21Ajava final(sachin sir9822506209)_vision_academy_21
Ajava final(sachin sir9822506209)_vision_academy_21
 
Mobile Application Development MAD J2ME UNIT 2
Mobile Application Development  MAD J2ME UNIT 2Mobile Application Development  MAD J2ME UNIT 2
Mobile Application Development MAD J2ME UNIT 2
 
J2ee seminar
J2ee seminarJ2ee seminar
J2ee seminar
 
Intro in JavaEE world (TU Olomouc)
Intro in JavaEE world (TU Olomouc)Intro in JavaEE world (TU Olomouc)
Intro in JavaEE world (TU Olomouc)
 
Introduction to java_ee
Introduction to java_eeIntroduction to java_ee
Introduction to java_ee
 
A dynamic application using jboss
A dynamic application using jbossA dynamic application using jboss
A dynamic application using jboss
 
Ibm web sphere_job_interview_preparation_guide
Ibm web sphere_job_interview_preparation_guideIbm web sphere_job_interview_preparation_guide
Ibm web sphere_job_interview_preparation_guide
 
Mobile Application Development MAD J2ME
Mobile Application Development  MAD J2MEMobile Application Development  MAD J2ME
Mobile Application Development MAD J2ME
 
Web Sphere Administration guide – Packaging and Deploying Jee Applications
Web Sphere Administration guide – Packaging and Deploying Jee ApplicationsWeb Sphere Administration guide – Packaging and Deploying Jee Applications
Web Sphere Administration guide – Packaging and Deploying Jee Applications
 
Introduction to Java EE (J2EE)
Introduction to Java EE (J2EE)Introduction to Java EE (J2EE)
Introduction to Java EE (J2EE)
 
Unit 5-jdbc2
Unit 5-jdbc2Unit 5-jdbc2
Unit 5-jdbc2
 
Best Practices for Managing and Monitoring WebSphere Message Broker
Best Practices for Managing and Monitoring WebSphere Message BrokerBest Practices for Managing and Monitoring WebSphere Message Broker
Best Practices for Managing and Monitoring WebSphere Message Broker
 
Jdbc
JdbcJdbc
Jdbc
 
Introduction to java ee
Introduction to java eeIntroduction to java ee
Introduction to java ee
 
Physical Architecture Layer Design
Physical Architecture Layer DesignPhysical Architecture Layer Design
Physical Architecture Layer Design
 
Java training noida hibernate+spring+struts+web services(1)
Java training noida hibernate+spring+struts+web services(1)Java training noida hibernate+spring+struts+web services(1)
Java training noida hibernate+spring+struts+web services(1)
 
JDBC,Types of JDBC,Resultset, statements,PreparedStatement,CallableStatements...
JDBC,Types of JDBC,Resultset, statements,PreparedStatement,CallableStatements...JDBC,Types of JDBC,Resultset, statements,PreparedStatement,CallableStatements...
JDBC,Types of JDBC,Resultset, statements,PreparedStatement,CallableStatements...
 

Similaire à Chapter 10:Understanding Java Related Platforms and Integration Technologies

Chapter 12:Understanding Server-Side Technologies
Chapter 12:Understanding Server-Side TechnologiesChapter 12:Understanding Server-Side Technologies
Chapter 12:Understanding Server-Side TechnologiesIt Academy
 
Introduction to j2 ee frameworks
Introduction to j2 ee frameworksIntroduction to j2 ee frameworks
Introduction to j2 ee frameworksMukesh Kumar
 
Framework adoption for java enterprise application development
Framework adoption for java enterprise application developmentFramework adoption for java enterprise application development
Framework adoption for java enterprise application developmentClarence Ho
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC  Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC vipin kumar
 
Lecture 1: Introduction to JEE
Lecture 1:  Introduction to JEELecture 1:  Introduction to JEE
Lecture 1: Introduction to JEEFahad Golra
 
Spring intro classes-in-mumbai
Spring intro classes-in-mumbaiSpring intro classes-in-mumbai
Spring intro classes-in-mumbaivibrantuser
 
BarcelonaJUG - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, ...
BarcelonaJUG - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, ...BarcelonaJUG - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, ...
BarcelonaJUG - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, ...Juarez Junior
 
Cloud Conference Day - A High-Speed Data Ingestion Service in Java Using MQTT...
Cloud Conference Day - A High-Speed Data Ingestion Service in Java Using MQTT...Cloud Conference Day - A High-Speed Data Ingestion Service in Java Using MQTT...
Cloud Conference Day - A High-Speed Data Ingestion Service in Java Using MQTT...Juarez Junior
 
Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)Pooja Talreja
 
Glassfish JEE Server Administration - JEE Introduction
Glassfish JEE Server Administration - JEE IntroductionGlassfish JEE Server Administration - JEE Introduction
Glassfish JEE Server Administration - JEE IntroductionDanairat Thanabodithammachari
 
java.pptx
java.pptxjava.pptx
java.pptxbfgd1
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteMicro Focus
 
Spring introduction
Spring introductionSpring introduction
Spring introductionManav Prasad
 
Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.suranisaunak
 

Similaire à Chapter 10:Understanding Java Related Platforms and Integration Technologies (20)

Chapter 12:Understanding Server-Side Technologies
Chapter 12:Understanding Server-Side TechnologiesChapter 12:Understanding Server-Side Technologies
Chapter 12:Understanding Server-Side Technologies
 
Introduction to j2 ee frameworks
Introduction to j2 ee frameworksIntroduction to j2 ee frameworks
Introduction to j2 ee frameworks
 
Framework adoption for java enterprise application development
Framework adoption for java enterprise application developmentFramework adoption for java enterprise application development
Framework adoption for java enterprise application development
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC  Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC
 
Lecture 1: Introduction to JEE
Lecture 1:  Introduction to JEELecture 1:  Introduction to JEE
Lecture 1: Introduction to JEE
 
Spring intro classes-in-mumbai
Spring intro classes-in-mumbaiSpring intro classes-in-mumbai
Spring intro classes-in-mumbai
 
Ra framework 0.1
Ra framework 0.1Ra framework 0.1
Ra framework 0.1
 
J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architecture
 
Java Spring
Java SpringJava Spring
Java Spring
 
BarcelonaJUG - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, ...
BarcelonaJUG - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, ...BarcelonaJUG - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, ...
BarcelonaJUG - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, ...
 
Spring framework
Spring frameworkSpring framework
Spring framework
 
Cloud Conference Day - A High-Speed Data Ingestion Service in Java Using MQTT...
Cloud Conference Day - A High-Speed Data Ingestion Service in Java Using MQTT...Cloud Conference Day - A High-Speed Data Ingestion Service in Java Using MQTT...
Cloud Conference Day - A High-Speed Data Ingestion Service in Java Using MQTT...
 
KaranDeepSinghCV
KaranDeepSinghCVKaranDeepSinghCV
KaranDeepSinghCV
 
Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)
 
Glassfish JEE Server Administration - JEE Introduction
Glassfish JEE Server Administration - JEE IntroductionGlassfish JEE Server Administration - JEE Introduction
Glassfish JEE Server Administration - JEE Introduction
 
java.pptx
java.pptxjava.pptx
java.pptx
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product Suite
 
Spring introduction
Spring introductionSpring introduction
Spring introduction
 
Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.
 
Chap3 3 12
Chap3 3 12Chap3 3 12
Chap3 3 12
 

Plus de It Academy

Chapter 11:Understanding Client-Side Technologies
Chapter 11:Understanding Client-Side TechnologiesChapter 11:Understanding Client-Side Technologies
Chapter 11:Understanding Client-Side TechnologiesIt Academy
 
Chapter 9:Representing Object-Oriented Concepts with UML
Chapter 9:Representing Object-Oriented Concepts with UMLChapter 9:Representing Object-Oriented Concepts with UML
Chapter 9:Representing Object-Oriented Concepts with UMLIt Academy
 
Chapter8:Understanding Polymorphism
Chapter8:Understanding PolymorphismChapter8:Understanding Polymorphism
Chapter8:Understanding PolymorphismIt Academy
 
Chapter 7:Understanding Class Inheritance
Chapter 7:Understanding Class InheritanceChapter 7:Understanding Class Inheritance
Chapter 7:Understanding Class InheritanceIt Academy
 
Chapter 6:Working with Classes and Their Relationships
Chapter 6:Working with Classes and Their RelationshipsChapter 6:Working with Classes and Their Relationships
Chapter 6:Working with Classes and Their RelationshipsIt Academy
 
Chapter 5:Understanding Variable Scope and Class Construction
Chapter 5:Understanding Variable Scope and Class ConstructionChapter 5:Understanding Variable Scope and Class Construction
Chapter 5:Understanding Variable Scope and Class ConstructionIt Academy
 
Chapter 4:Object-Oriented Basic Concepts
Chapter 4:Object-Oriented Basic ConceptsChapter 4:Object-Oriented Basic Concepts
Chapter 4:Object-Oriented Basic ConceptsIt Academy
 
Chapter 3:Programming with Java Operators and Strings
Chapter 3:Programming with Java Operators and  StringsChapter 3:Programming with Java Operators and  Strings
Chapter 3:Programming with Java Operators and StringsIt Academy
 
Chapter 3 : Programming with Java Operators and Strings
Chapter 3 : Programming with Java Operators and  StringsChapter 3 : Programming with Java Operators and  Strings
Chapter 3 : Programming with Java Operators and StringsIt Academy
 
Chapter 2 : Programming with Java Statements
Chapter 2 : Programming with Java StatementsChapter 2 : Programming with Java Statements
Chapter 2 : Programming with Java StatementsIt Academy
 
chap 10 : Development (scjp/ocjp)
chap 10 : Development (scjp/ocjp)chap 10 : Development (scjp/ocjp)
chap 10 : Development (scjp/ocjp)It Academy
 
Chap 9 : I/O and Streams (scjp/ocjp)
Chap 9 : I/O and Streams (scjp/ocjp)Chap 9 : I/O and Streams (scjp/ocjp)
Chap 9 : I/O and Streams (scjp/ocjp)It Academy
 
chap 8 : The java.lang and java.util Packages (scjp/ocjp)
chap 8 : The java.lang and java.util Packages (scjp/ocjp)chap 8 : The java.lang and java.util Packages (scjp/ocjp)
chap 8 : The java.lang and java.util Packages (scjp/ocjp)It Academy
 
chap 7 : Threads (scjp/ocjp)
chap 7 : Threads (scjp/ocjp)chap 7 : Threads (scjp/ocjp)
chap 7 : Threads (scjp/ocjp)It Academy
 
chap 6 : Objects and classes (scjp/ocjp)
chap 6 : Objects and classes (scjp/ocjp)chap 6 : Objects and classes (scjp/ocjp)
chap 6 : Objects and classes (scjp/ocjp)It Academy
 
chap4 ; Flow Control, Assertions, and Exception Handling (scjp/ocjp)
chap4 ; Flow Control, Assertions, and Exception Handling (scjp/ocjp)chap4 ; Flow Control, Assertions, and Exception Handling (scjp/ocjp)
chap4 ; Flow Control, Assertions, and Exception Handling (scjp/ocjp)It Academy
 
chap4 : Converting and Casting (scjp/ocjp)
chap4 : Converting and Casting (scjp/ocjp)chap4 : Converting and Casting (scjp/ocjp)
chap4 : Converting and Casting (scjp/ocjp)It Academy
 
chp 3 : Modifiers (scjp/ocjp)
chp 3 : Modifiers (scjp/ocjp)chp 3 : Modifiers (scjp/ocjp)
chp 3 : Modifiers (scjp/ocjp)It Academy
 

Plus de It Academy (20)

Chapter 11:Understanding Client-Side Technologies
Chapter 11:Understanding Client-Side TechnologiesChapter 11:Understanding Client-Side Technologies
Chapter 11:Understanding Client-Side Technologies
 
Chapter 9:Representing Object-Oriented Concepts with UML
Chapter 9:Representing Object-Oriented Concepts with UMLChapter 9:Representing Object-Oriented Concepts with UML
Chapter 9:Representing Object-Oriented Concepts with UML
 
Chapter8:Understanding Polymorphism
Chapter8:Understanding PolymorphismChapter8:Understanding Polymorphism
Chapter8:Understanding Polymorphism
 
Chapter 7:Understanding Class Inheritance
Chapter 7:Understanding Class InheritanceChapter 7:Understanding Class Inheritance
Chapter 7:Understanding Class Inheritance
 
Chapter 6:Working with Classes and Their Relationships
Chapter 6:Working with Classes and Their RelationshipsChapter 6:Working with Classes and Their Relationships
Chapter 6:Working with Classes and Their Relationships
 
Chapter 5:Understanding Variable Scope and Class Construction
Chapter 5:Understanding Variable Scope and Class ConstructionChapter 5:Understanding Variable Scope and Class Construction
Chapter 5:Understanding Variable Scope and Class Construction
 
Chapter 4:Object-Oriented Basic Concepts
Chapter 4:Object-Oriented Basic ConceptsChapter 4:Object-Oriented Basic Concepts
Chapter 4:Object-Oriented Basic Concepts
 
Chapter 3:Programming with Java Operators and Strings
Chapter 3:Programming with Java Operators and  StringsChapter 3:Programming with Java Operators and  Strings
Chapter 3:Programming with Java Operators and Strings
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Chapter 3 : Programming with Java Operators and Strings
Chapter 3 : Programming with Java Operators and  StringsChapter 3 : Programming with Java Operators and  Strings
Chapter 3 : Programming with Java Operators and Strings
 
Chapter 2 : Programming with Java Statements
Chapter 2 : Programming with Java StatementsChapter 2 : Programming with Java Statements
Chapter 2 : Programming with Java Statements
 
Chapter 1 :
Chapter 1 : Chapter 1 :
Chapter 1 :
 
chap 10 : Development (scjp/ocjp)
chap 10 : Development (scjp/ocjp)chap 10 : Development (scjp/ocjp)
chap 10 : Development (scjp/ocjp)
 
Chap 9 : I/O and Streams (scjp/ocjp)
Chap 9 : I/O and Streams (scjp/ocjp)Chap 9 : I/O and Streams (scjp/ocjp)
Chap 9 : I/O and Streams (scjp/ocjp)
 
chap 8 : The java.lang and java.util Packages (scjp/ocjp)
chap 8 : The java.lang and java.util Packages (scjp/ocjp)chap 8 : The java.lang and java.util Packages (scjp/ocjp)
chap 8 : The java.lang and java.util Packages (scjp/ocjp)
 
chap 7 : Threads (scjp/ocjp)
chap 7 : Threads (scjp/ocjp)chap 7 : Threads (scjp/ocjp)
chap 7 : Threads (scjp/ocjp)
 
chap 6 : Objects and classes (scjp/ocjp)
chap 6 : Objects and classes (scjp/ocjp)chap 6 : Objects and classes (scjp/ocjp)
chap 6 : Objects and classes (scjp/ocjp)
 
chap4 ; Flow Control, Assertions, and Exception Handling (scjp/ocjp)
chap4 ; Flow Control, Assertions, and Exception Handling (scjp/ocjp)chap4 ; Flow Control, Assertions, and Exception Handling (scjp/ocjp)
chap4 ; Flow Control, Assertions, and Exception Handling (scjp/ocjp)
 
chap4 : Converting and Casting (scjp/ocjp)
chap4 : Converting and Casting (scjp/ocjp)chap4 : Converting and Casting (scjp/ocjp)
chap4 : Converting and Casting (scjp/ocjp)
 
chp 3 : Modifiers (scjp/ocjp)
chp 3 : Modifiers (scjp/ocjp)chp 3 : Modifiers (scjp/ocjp)
chp 3 : Modifiers (scjp/ocjp)
 

Dernier

Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Dernier (20)

Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

Chapter 10:Understanding Java Related Platforms and Integration Technologies

  • 1. Understanding Java Related Platforms and Integration Technologies 1
  • 2. Understanding Java Platforms • Exam Objective 6.1 Distinguish the basic characteristics of the three Java platforms: J2SE, J2ME, and J2EE, and given a high-level architectural goal, select the appropriate Java platform or platforms. 2
  • 3. 3
  • 4. What Is the J2EE?    Open and standard based platform for developing, deploying and managing n-tier, Web-enabled, server-centric, and component-based enterprise applications 4
  • 5. The Java™ Platform Java Technology Enabled Devices Java Technology Enabled Desktop Workgroup Server High-End Server 5
  • 6. The JavaTM Platform Java 2 Platform Micro Edition (J2METM) Optional Packages Optional Packages Java 2 Enterprise Edition (J2EE) Java 2 Standard Edition (J2SE) Personal Basis Profile Personal Profile Foundation Profile CDC JVM MIDP CLDC KVM * Under development in JCP Java Card APIs CardVM 6
  • 7. The Java Runtime Environment Java Hotspot Client Virtual Machine Java Hotspot Server Virtual Machine Adaptive compiler Improved memory allocation and garbage collection Thread synchronization 7
  • 8. 8
  • 9. Deployment Technologies • Java Plug-in : Java Plug-in technology, included as part of the Java Runtime Environment, Standard Edition (Java SE), establishes a connection between popular browsers and the Java platform. This connection enables applets on Web sites to be run within a browser on the desktop. 9
  • 10. Java Web Start Technology • Using Java Web Start technology, standalone Java software applications can be deployed with a single click over the network. • Java Web Start ensures the most current version of the application will be deployed, as well as the correct version of the Java Runtime Environment (JRE). 10
  • 11. Java Control Panel • It allows you to view and set a wide range of parameters controlling how Java runs on your computer. 11
  • 12. Java Update Mechanism • The Java Update is a feature that keeps your computer up-to-date automatically with the latest Java releases. • Installing the Java Runtime Environment automatically installs the Java Update feature. 12
  • 14. Java 2 Platform, Micro Edition 14
  • 15. Configurations • Java ME has two configurations: the Connected Device Configuration (CDC) and the Connected Limited Device Configuration (CLDC). • These configurations contain a virtual machine containing a small but focused set of libraries making up the runtime environment 15
  • 16. Profiles • Profiles are necessary to work in conjunction with configurations as part of the necessary runtime environment. • Profiles are APIs that define the application‘s life-cycle model, user interface, and device properties access. • CDC contains the Foundation Profile (FP), the Personal Profile (PP), and the Personal Basis Profile (PBP). • PBP is a subset of PP. • The CLDC contains the Mobile Information Device Profile (MIDP) and the Information Module Profile (IMP). • IMP is a subset of MIDP. 16
  • 17. Java Platform Enterprise Edition • The Java Platform, Enterprise Edition provides a means to create true enterprise systems that are flexible, scalable, and secure. • A major benefit of enterprise systems is the separation of software components. Java EE follows the Model-ViewController (MVC) architecture where servlets work as the controller, JavaServer Pages handle the view or presentation logic, and the business logic is represented as the model, typically the Enterprise JavaBeans (EJBs) 17
  • 18. • A Java Specification Request (JSR) is the description of Java platform–related specifications—proposed and final. • Enterprise Java Beans 2.1 • Servlet 2.4 • JavaServer Pages 2.0 • Java Message Service 1.1 • JavaMail 1.3 • Web Services 1.1 • JAX RPC 1.1 18
  • 19. 19
  • 20. Working with the Java Remote Method Invocation API • Exam Objective 6.2 Describe at a high level the benefits and basic characteristics of RMI. 20
  • 21. •Client stubs The ‗rmic‘-created stub for the client side is called a ―stub.‖ When using JDK 1.4 and earlier versions (prior to JDK 5.0), you are required to use the ‗rmic‘ utility to generate stub classes. In JDK 5.0 and later, the RMI runtime generates the stub classes automatically (by constructing a proxy). The client stub‘s marshal method calls the name and arguments and sends them to the skeleton on the server side. After they receive the results from the sender, they return the result back to the method call invoker. •Server stubs (skeletons) The ‗rmic‘-created stub for the server side is called a ―skeleton.‖ As of JDK 1.2 and later, skeletons are no longer needed. The server stub‘s receive marshal method calls the name and arguments from the client stubs, performs the necessary operations, and returns the result back to the client stub. 21
  • 22. • Java Remote Method Invocation over Internet Inter-Orb • Protocol (RMI-IIOP) is used for Java to non-Java distributed computing solutions. Java-IDL is used by Common Object Request Broker Architecture (CORBA) developers to provide a CORBA to Java distributed computing solutions. • You should not see RMI-IIOP or Java-IDL on the exam. 22
  • 23. Working with Database Technologies • Exam Objective 6.3 Describe at a high level the benefits and basic characteristics of JDBC, SQL, and RDBMS technologies. 23
  • 24. Working with Database Technologies • A Relational Database Management System (RDBMS) is a type of database management system that organizes its data in the form of interrelated tables. > > > > > Benefits of an RDMBS include the following: Provides a persistent data store Processes SQL queries Manages users Performs backups and restores 24
  • 25. Structured Query Language • Operations to support querying/retrieval of information from relational databases. • Operations to support modification for example, insertion, updating, and deletion of information in relational databases. • Operations to support the management of relational databases. • Operations to support execution plans. An execution plan is generated by the RDBMS to specify how it will execute a piece of application code. • Operations to support stored procedures. A stored procedure is a piece of application code that is stored and executed within the database. • You will get an execution plan as a result of compiling a stored procedure. 25
  • 26. Working with Additional Java Integration APIs • Exam Objective 6.4 Describe at a high level the benefits and basic characteristics of JNDI, messaging, and JMS technologies. 26
  • 27. Integrating with naming and directory services 27
  • 28. • JNDI lays out its elements as a tree structure of directories and objects. • When creating a connection, you need to establish an initial base context. Think of the context as the directory starting point in the tree. • You may change the context whenever you like. • However, when the context is set, you can only traverse the • downward portion of the tree when performing querying operations. 28
  • 29. • The Java Message Service (JMS) API resides in the javax.jms package. • This API is used to access the common features of enterprise messaging systems. The JMS API allows for the creation, sending, receiving, and reading of messages with Java EE application components. • All of this distributed-computing communications of separate applications is done asynchronously this is essentially the definition of a messaging system. 29
  • 30. The Publish/Subscribe Messaging Model • Publish/subscribe messaging is based on events. Consumers subscribe to events of interest by specifying a topic that is part of a set of messages. • The producers of these messages will route these messages to the consumers who register for them. • The consumers will then consume the events when they arrive. 30
  • 31. The Point-to-Point Messaging Model • Point-to-point (PTP) messaging involves applications routing messages to consumers while using a shared queue. • The consumer maintains this queue of awaiting messages, and the messaging application sends messages to that queue. 31
  • 32. 32
  • 33. 33
  • 34. 34
  • 35. 35
  • 36. 36
  • 37. 37
  • 38. 38
  • 39. 39
  • 40. 40
  • 41. 41
  • 42. 42
  • 43. 43
  • 44. 44