JCA Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:
Java EE Connector Architecture (JCA) defines a standard architecture for JEE systems to access external heterogenous Enterprise Information Systems (EIS), such as databases, messaging systems and mainframe transaction processing. <font color=red>The external systems are referred to as [[#Resource_Manager|resource managers]]</font>. The JEE system interaction to the external system is channeled through a collocated component written in Java and named [[#Resource_Adapter|resource adapter]]. JCA define a standard set of contracts between the JEE server and the [[#Resource_Adapter|resource adapter]]. The standard contracts include:
Java EE Connector Architecture (JCA) defines a standard architecture for JEE systems to access external heterogenous Enterprise Information Systems (EIS), such as databases, messaging systems and mainframe transaction processing. <font color=red>The external systems are referred to as [[#Resource_Manager|resource managers]]</font>. The JEE system interaction to the external system is channeled through a collocated component written in Java and named [[#Resource_Adapter|resource adapter]]. JCA define a standard set of contracts between the JEE server and the [[#Resource_Adapter|resource adapter]]. The standard contracts include:
* '''Connection Management Contract'''. This contracts allows the JEE server pool connections to the underlying EIS, allowing for a scalable application environment where a large number of clients use efficiently a relatively low number of connections to the EIS.
* '''Connection Management Contract'''. This contracts allows the JEE server pool connections to the underlying EIS, allowing for a scalable application environment where a large number of clients use efficiently a relatively low number of connections to the EIS.
* '''Transaction Management Contract'''. This contract refers to interaction between the JEE transaction manager and transactional EIS system, and allows the JEE transaction manager to manage transaction across multiple [[#Resource_Manager|resource managers]].
* '''Transaction Management Contract'''. This contract refers to interaction between the JEE transaction manager and transactional EIS system, and allows the JEE transaction manager to manage transaction across multiple [[#Resource_Manager|resource managers]]. Transactions that are managed internally by the EIS without the involvement of an external transaction manager are also supported by this contract. A resource adapter can also propagate an imported transaction content to the JEE server.
* '''Security Contract'''
* '''Security Contract''' that enables secure access to the EIS.
* '''Thread Management Contract'''
* '''Thread Management Contract'''
* '''Message Provider Pluggability Contract'''
* '''Message Provider Pluggability Contract'''

Revision as of 13:41, 25 September 2017

Internal

Java EE Connector Architecture (JCA)

Java EE Connector Architecture (JCA) defines a standard architecture for JEE systems to access external heterogenous Enterprise Information Systems (EIS), such as databases, messaging systems and mainframe transaction processing. The external systems are referred to as resource managers. The JEE system interaction to the external system is channeled through a collocated component written in Java and named resource adapter. JCA define a standard set of contracts between the JEE server and the resource adapter. The standard contracts include:

  • Connection Management Contract. This contracts allows the JEE server pool connections to the underlying EIS, allowing for a scalable application environment where a large number of clients use efficiently a relatively low number of connections to the EIS.
  • Transaction Management Contract. This contract refers to interaction between the JEE transaction manager and transactional EIS system, and allows the JEE transaction manager to manage transaction across multiple resource managers. Transactions that are managed internally by the EIS without the involvement of an external transaction manager are also supported by this contract. A resource adapter can also propagate an imported transaction content to the JEE server.
  • Security Contract that enables secure access to the EIS.
  • Thread Management Contract
  • Message Provider Pluggability Contract
  • Optionally, a Generic Command Interface Contract between the JEE server and the resource adapter.

Resource Manager

Resource Adapter

A resource adapter is a component that implements JCA API and architecture. It is similar to a datasource, however, it provides connectivity to and from an Enterprise Information System (EIS) such as a database, messaging system, transaction processing system, etc. From an Application Server's perspective, a resource adapter is a deployable component, packaged in a Resource Adapter Archive (RAR), whose file can be deployed within the AS.

MessageEndpoint

https://docs.oracle.com/javaee/7/api/javax/resource/spi/endpoint/MessageEndpoint.html