JCA Concepts

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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
  • Transaction Management Contract
  • 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.

MessageEndpoint

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