![Page 1: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/1.jpg)
1
Understanding Java Related Platforms and Integration Technologies
![Page 2: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/2.jpg)
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.
![Page 3: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/3.jpg)
3
![Page 4: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/4.jpg)
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
![Page 5: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/5.jpg)
5
The Java™ Platform
High-EndServer
Java Technology Enabled Desktop
WorkgroupServer
Java Technology Enabled Devices
![Page 6: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/6.jpg)
6
The JavaTM Platform
OptionalPackages
Java 2Enterprise
Edition(J2EE)
Java 2StandardEdition(J2SE)
JVM
Java Card APIs
CardVM
OptionalPackages
Personal Basis Profile
Personal Profile
Foundation Profile
CDC
MIDP
CLDC
KVM
Java 2 Platform Micro Edition(J2METM)
* Under development in JCP
![Page 7: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/7.jpg)
7
The Java Runtime Environment
Java Hotspot Client Virtual MachineJava Hotspot Server Virtual Machine
Adaptive compiler
Improved memory allocation and garbage collection
Thread synchronization
![Page 8: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/8.jpg)
8
![Page 9: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/9.jpg)
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.
![Page 10: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/10.jpg)
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).
![Page 11: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/11.jpg)
11
Java Control Panel
• It allows you to view and set a wide range of parameters controlling how Java runs on your computer.
![Page 12: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/12.jpg)
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.
![Page 13: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/13.jpg)
13
The Java Development Kit
![Page 14: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/14.jpg)
14
Java 2 Platform, Micro Edition
![Page 15: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/15.jpg)
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
![Page 16: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/16.jpg)
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.
![Page 17: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/17.jpg)
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-View-Controller (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)
![Page 18: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/18.jpg)
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
![Page 19: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/19.jpg)
19
![Page 20: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/20.jpg)
20
Working with the Java RemoteMethod Invocation API
• Exam Objective 6.2 Describe at a high level the benefits and basic characteristics of RMI.
![Page 21: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/21.jpg)
21
•Client stubsThe ‘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.
![Page 22: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/22.jpg)
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.
![Page 23: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/23.jpg)
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.
![Page 24: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/24.jpg)
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
![Page 25: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/25.jpg)
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.
![Page 26: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/26.jpg)
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.
![Page 27: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/27.jpg)
27
Integrating with naming and directory services
![Page 28: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/28.jpg)
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.
![Page 29: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/29.jpg)
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.
![Page 30: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/30.jpg)
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.
![Page 31: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/31.jpg)
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.
![Page 32: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/32.jpg)
32
![Page 33: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/33.jpg)
33
![Page 34: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/34.jpg)
34
![Page 35: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/35.jpg)
35
![Page 36: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/36.jpg)
36
![Page 37: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/37.jpg)
37
![Page 38: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/38.jpg)
38
![Page 39: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/39.jpg)
39
![Page 40: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/40.jpg)
40
![Page 41: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/41.jpg)
41
![Page 42: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/42.jpg)
42
![Page 43: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/43.jpg)
43
![Page 44: Chapter 10:Understanding Java Related Platforms and Integration Technologies](https://reader038.vdocument.in/reader038/viewer/2022110118/555126c2b4c905325d8b464d/html5/thumbnails/44.jpg)
44