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,...
3
What Is the J2EE?




Open and standard based platform for
developing, deploying and managing
n-tier, Web-enabled, serv...
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...
The Java Runtime Environment
Java Hotspot Client Virtual Machine
Java Hotspot Server Virtual Machine
Adaptive compiler
Imp...
8
Deployment Technologies
• Java Plug-in :
Java Plug-in technology, included as part of the Java
Runtime Environment, Standa...
Java Web Start Technology
• Using Java Web Start technology, standalone Java
software applications can be deployed with a ...
Java Control Panel
• It allows you to view and set a wide range of parameters
controlling how Java runs on your computer.
...
Java Update Mechanism
• The Java Update is a feature that keeps your computer
up-to-date automatically with the latest Jav...
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...
Profiles
• Profiles are necessary to work in conjunction with
configurations as part of the necessary runtime
environment....
Java Platform Enterprise Edition
• The Java Platform, Enterprise Edition provides a means
to create true enterprise system...
• A Java Specification Request (JSR) is the description of
Java platform–related specifications—proposed and final.
• Ente...
19
Working with the Java Remote
Method Invocation API
• Exam Objective 6.2 Describe at a high level the benefits
and basic ch...
•Client stubs
The ‗rmic‘-created stub for the client side is called a ―stub.‖
When using JDK 1.4 and earlier versions (pri...
• Java Remote Method Invocation over Internet Inter-Orb
• Protocol (RMI-IIOP) is used for Java to non-Java distributed
com...
Working with Database Technologies
• Exam Objective 6.3 Describe at a high level the benefits
and basic characteristics of...
Working with Database Technologies
• A Relational Database Management System (RDBMS) is
a type of database management syst...
Structured Query Language
• Operations to support querying/retrieval of information from relational
databases.
• Operation...
Working with Additional Java Integration APIs

• Exam Objective 6.4 Describe at a high level the benefits
and basic charac...
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 est...
• The Java Message Service (JMS) API resides in the javax.jms
package.
• This API is used to access the common features of...
The Publish/Subscribe Messaging Model
• Publish/subscribe messaging is based on events. Consumers
subscribe to events of i...
The Point-to-Point Messaging Model
• Point-to-point (PTP) messaging involves applications
routing messages to consumers wh...
32
33
34
35
36
37
38
39
40
41
42
43
44
Upcoming SlideShare
Loading in …5
×

Chapter 10:Understanding Java Related Platforms and Integration Technologies

826 views

Published on

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.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
826
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
17
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Chapter 10:Understanding Java Related Platforms and Integration Technologies

  1. 1. Understanding Java Related Platforms and Integration Technologies 1
  2. 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. 3
  4. 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. 5. The Java™ Platform Java Technology Enabled Devices Java Technology Enabled Desktop Workgroup Server High-End Server 5
  6. 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. 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. 8
  9. 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. 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. 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. 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
  13. 13. The Java Development Kit 13
  14. 14. Java 2 Platform, Micro Edition 14
  15. 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. 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. 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. 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. 19
  20. 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. 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. 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. 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. 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. 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. 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. 27. Integrating with naming and directory services 27
  28. 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. 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. 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. 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. 32
  33. 33. 33
  34. 34. 34
  35. 35. 35
  36. 36. 36
  37. 37. 37
  38. 38. 38
  39. 39. 39
  40. 40. 40
  41. 41. 41
  42. 42. 42
  43. 43. 43
  44. 44. 44

×