image
Container Services
Start course
Difficulty
Beginner
Duration
56m
Students
31
Description

This course takes an introductory look at Java Enterprise Edition and explains its main characteristics. We then continue to show you how to set up a Java EE 6 environment, which will be useful when following along with our Oracle Java EE 6 Programmer learning path.

Learning Objectives

  • Obtain a foundational understanding of Java EE 6
  • Learn how to install the necessary programs to begin using Java EE 6

Intended Audience

This course is intended for anyone who already has basic knowledge of Java and now wants to learn about Java EE 6.

Prerequisites

Basic knowledge of Java programming.

 

 

Transcript

Hello dear friends. In this video, we will examine the Java EE 6 container services. Let's begin. As you may remember from the previous video, there are four containers in Java EE. As you can see in the image, many services are used in these containers. Now in this video, I'll explain some of them. In the following videos, we will go over some of the other services in detail. Now, let's look at the image. JTA service offers a transaction demarcation API used by the container and the application. 

It also provides an interface between the transaction manager and a resource manager at the service provider interface, SPI level. JPA is the standard API for object relational mapping, also known as ORM. With its Java persistence query language, you can query objects stored in the underlying database. We will examine Java persistence API with all details in the following videos. JMS is short for Java Messaging Service. JMS allows components to communicate asynchronously through messages. It supports reliable point-to-point messaging as well as the published subscribe model. JNDI stands for Java Naming and Directory Interface.

This API included in Java SE is used to access naming and directory systems. Your application uses it to associate names to objects and then to find these objects in a directory. Java mail is used in many applications that require the ability to send emails, which can be implemented through the use of Java mail API. JAF stands for Java Beans Activation Framework. The JAF API included in Java SE provides a framework for handling data in different mime types. It is used by Java mail. 

Most Java EE components can be deployed with optional XML deployment descriptors and applications often have to manipulate XML documents. The Java API for XML processing, also known as JAXP, provides support for parsing documents with SAX and DOM APIs as well as for XSLT. The streaming API for XML, also known as STAX, provides a pool parsing API for XML. JCA is a connector. Connectors allow you to access EIS from a Java EE component. These could be databases, mainframes or enterprise resource planning, ERP programs.

Let's look at security services, Java Authentication and Authorization Service, also known as JAAS, enables services to authenticate and enforce access controls upon users. The Java Authorization Service Provider Contract for containers, also known as JACC, defines a contract between a Java EE application server and an authorization service provider, allowing custom authorization service providers to be plugged into any Java EE product. As you can see, this image also contains some web services. 

Java EE provides support for SOAP and RESTful web services. The Java API for XML Web Services, JAX WS, which has replaced the Java API for XML-based RPC, JAX RPC supports web services that use the SOAP HTTP protocol. The Java API for RESTful Web Services, also known as JAX RS, provides support for web services using the rest style. In the following videos, we will review each of these services one-by-one. Java EE defines APIs for managing containers and servers using a special management enterprise bean. The Java Management Extensions API, known as JMX, is also used to provide some management support.

Now, these are services, and as you can see, there are also two network protocols; HTTP and RMI IIOP. HTTP is the web protocol and it's ubiquitous in modern applications. The client side API is defined by the java.net package in Java SE. The HTTP server side API is defined by servlet, JSPs and JSF interfaces as well as SOAP and RESTful web services. HTTPS is a combination of HTTP and the Secure Sockets layer protocol. Remote method invocation allows you to invoke remote objects independently of the underlying protocol. The Java SE Native RMI protocol is job remote method protocol, also known as JRNP. RMI IIOP is an extension of RMI used to integrate with Cobra. Java interface description language allows Java EE application components to invoke external Cobra objects using the IIOP protocol. Cobra objects can be written in many languages like ADA, C, C++, Cobra, etc., as well as Java. Now, I think that's enough for container services. Let's take a quick break. In the next video, we will look into web services that are supported in Java 6 EE. See you in the next video.

 

About the Author
Students
4005
Courses
64
Learning Paths
5

OAK Academy is made up of tech experts who have been in the sector for years and years and are deeply rooted in the tech world. They specialize in critical areas like cybersecurity, coding, IT, game development, app monetization, and mobile development.

Covered Topics