Jonas And The Connector Architecture; Introducing The Connector Architecture; Defining The Jonas Connector Deployment Descriptor - Red Hat APPLICATION SERVER - JONAS Manual

Jonas
Hide thumbs Also See for APPLICATION SERVER - JONAS:
Table of Contents

Advertisement

Chapter 25.

JOnAS and the Connector Architecture

This chapter is provided for advanced JOnAS users concerned with EAI (Enterprise Application In-
tegration).

25.1. Introducing the Connector Architecture

The Java Connector Architecture (Connectors) defines a way for enterprise applications (based on
EJB, Servlet, JSP, or J2EE clients) to communicate with existing external Enterprise Information
Systems (EIS) through an application server such as JOnAS. This requires the use of a third-party
software component called a Resource Adapter (RA) for each type of EIS. A Resource Adapter is an
architecture component, comparable to a software driver, that connects the EIS, the application server,
and the enterprise application. The RA is generally made available by an EIS vendor.
The RA provides an interface (the Common Client Interface or CCI) to the enterprise application
(EJBs) for accessing the EIS. The RA also provides standard interfaces for plugging into the applica-
tion server, so that the EIS and application server can collaborate to keep all system-level mechanisms
transparent from the application components. The application performs "business logic" operations
on the EIS data using the RA client API (CCI), while transactions, connections (including pooling),
and security on the EIS is managed by JOnAS through the RA (system contract).
Figure 25-1. Connector Architecture
25.2. Defining the JOnAS Connector Deployment Descriptor
Using a Connector Resource Adapter with JOnAS involves the following steps:
1. The bean provider must specify the connection factory requirements by declaring a resource
manager connection factory reference in its EJB deployment descriptor. For example:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Application server

Table of Contents