Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-21

Move the rars into a separate project that does not depend on the connection manager implementation

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Core
    • None

      The resource adapter implementations should NOT depend upon the connection manager
      implementation or transaction manager or any other jboss service.

      This is the wrong way around. It is like coding an EJB to use specifics of a JBoss EJB container.

      Related, each resource adapter should be useable in a standalone environment
      (with an internal dummy connection manager) through the alternate api

      See javax.resource.spi.ManagedConnectionFactory

      /**

      • Creates a connection factory instance. The connection manager is provided
      • by the resource adapter.
        *
      • STANDALONE USE
        *
      • @return the connection factory
      • @throws ResourceException for a generic error
      • @throws ResourceAdapterInternalException for an internal error in the
      • resource adapter
        */
        public Object createConnectionFactory() throws ResourceException;

      /**

      • Creates a connection factory instance. the connection manager is provided
      • by the application server
        *
      • APPLICATION SERVER/EXTERNAL CONNECTION MANAGER USE
      • @param cxManager the connection manager
      • @return the connection factory
      • @throws ResourceException for a generic error
      • @throws ResourceAdapterInternalException for an internal error in the
      • resource adapter
        */
        public Object createConnectionFactory(ConnectionManager cxManager) throws ResourceException;

          There are no Sub-Tasks for this issue.

              jpederse@redhat.com Jesper Pedersen
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: