Chetan SI wrote: > > Hi All, > I'm writing bean managed entity beans where I'm using LDAP as my > database. Currently, I'm making connection with LDAP for every time but > how can I optimize by making some kind of pool as it can be done for > JDBC connection pool. > Also, the same problem I'm facing when I'm publishing message( > writing > into the queue) from my session bean. I've to make connection every > time. How can I avoid it ? Using JBossCX! Or, more generally, using the J2EE connection architecture. You just need to write a resource adapter for LDAP connections and then you can use connection pooling. The support for this is preliminary at the moment and there's not much documentation, but it would be really great if you could try it out. Toby.
