Skip to main content

Problem:

  • Product Name: Borland Enterprise Server, Application Server Edition
  • Product Version: 6.0.1 and above
  • Product Component: JCA
  • Platform/OS Version: all supported
  • JDK/Compiler Version: all supported

What are the steps BES will take when an application request for a JCA connection

Resolution:

Borland Application Server will take the following steps to service the request.

  1. Application component requests for a connection.
  2. Borland Application Server will searches for a matching connection in the Free pool.
  3. Application server will pass in the set of connections in the Free pool to the Resource Adaptor by calling matchManagedConnection method as defined in the Connection Management section of the JCA 1.0 specification.
  4. The resource adapter will return a matched connection if available.
  5. If the resource adapter is not be able to return any matched connection, Borland Application Server will request the resource adapter to create new connection(s) based on the value set in the capacity-delta in the deployment descriptor (ra-borland.xml)
  6. One of the new connections will be returned to the application which requests for the connection. The rest of the new connections (if there were any left) will be placed in the Free pool managed by the Borland Application Server.


Author: Foo Chee Yong

Old KB# 15584

#BorlandApplicationSerrver
#Security
#VisiBroker
#JCAConnector