-
1. Re: JCA->LDAP Connector?
davidjencks Mar 13, 2003 10:33 PM (in response to spiritualmechanic)I have a recollection that someone worked on this a while back, but can't remember whether it was finished or not. I recommend searching this forum and the dev mailing list.
-
2. Re: JCA->LDAP Connector?
spiritualmechanic Mar 14, 2003 10:01 AM (in response to spiritualmechanic)Okay thanks. I have one technical question:
Do I need to implement my own ConnectionPool for the RA? The sample JCA seems to plug into JBoss's connection pooling. What exactly are the hooks for this?
Steve -
3. Re: JCA->LDAP Connector?
davidjencks Mar 14, 2003 9:01 PM (in response to spiritualmechanic)Pooling is handled by the ConnectionManager. The spec says you should include a default connection manager with your adapter, but if you intend to use it only with an app server this is not really necessary. In any case a default ConnectionManager doesn't need to do pooling. You need to implement ManagedConnectionFactory, ManagedConnection, and something like cci.ConnectionFactory and cci.Connection: there may be better choices of actual interface. If you support transactions you will have to implement either spi.LocalTransaction or XAResource.