JCA Concepts: Difference between revisions
Line 6: | Line 6: | ||
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''' | * '''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''' | * '''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]]. | ||
* '''Security Contract''' | * '''Security Contract''' | ||
* '''Thread Management Contract''' | * '''Thread Management Contract''' |
Revision as of 13:38, 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.
- Security Contract
- 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.