1 Reply Latest reply on Oct 18, 2007 5:16 AM by vickyk

    When and Why Resource Adapter implement the ConnectionManage

    liujw2001

      Hello:
      There is a question puzles me for a long time:

      Now that the ConnectionManager should be implemented by application server in Managed Environment, Why the Resource Adapter in some examples implements it again?
      The implement of this ConnectionManager usually is very simple, only includes an allocateManagedConnection function.

        • 1. Re: When and Why Resource Adapter implement the ConnectionMa
          vickyk

           

          "liujw2001" wrote:
          Hello:
          There is a question puzles me for a long time:

          Now that the ConnectionManager should be implemented by application server in Managed Environment, Why the Resource Adapter in some examples implements it again?
          The implement of this ConnectionManager usually is very simple, only includes an allocateManagedConnection function.

          Where did you see this happening ?
          CM should be implemented by the Appserver in case of the ManagedEnvironment and by the ResourceAdapter for non Managed Environment .
          Go and read the JCA specs , most of your questions will be answered after that .