Get Data Moving 1
Results 1 to 1 of 1

Thread: Creating connection to AIS using JCA adapter

  1. #1
    Jeanne Wiegelmann is offline Documentation
    Join Date
    Aug 2006
    Rep Power

    JCA For CICS - Creating connection to AIS using JCA adapter

    Connecting to AIS from a JCA Application Server requires a creation and configuration of a ManagedConnectionFactory instance.
    A ManagedConnectionFactory instance is a factory of both ManagedConnection and EIS-specific connection factory instances, providing methods for matching and creation of ManagedConnection instance. ManagedConnection instance represents a physical connection to the underlying EIS, and provides access to the XAResource and LocalTransaction interfaces.

    The XAResource interface is used by the transaction manager to associate and dissociate a transaction with the underlying EIS resource manager instance and to perform two-phase commit (2PC) protocol. The LocalTransaction interface is used by the application server to manage local transactions.

    This should be done as follows:

    AttuManagedConFactory mcf = new AttuManagedConFactory();
    //Set ManagedConenctionFactory properties
    AttuConnectionFactory cf = (AttuConnectionFactory)mcf.createConnectionFactory ();
    javax.resource.cci.Connection con = cf.getConnection();
    Last edited by Admin_attu; 08-31-2006 at 12:25 PM.
    To Find Out more About Attunity Technology:
    Contact Us

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts