On Mar 5, 2009, at 6:13 PM, Matt White wrote:
Hello!
I have an webapp that we deploy in Resin that does a whole lot of
LDAP queries.
As the application is written right now each query creates a new
connection, performs the query, and then drops the connection. This
takes on the order
You probably already found this with a google search, but I'll point it out
anyway. Sun describes simple pooling for the JNDI/LDAP stuff:
http://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html
In addition the Spring framework has their own take on LDAP connection
pooling:
Hello!
I have an webapp that we deploy in Resin that does a whole lot of LDAP queries.
As the application is written right now each query creates a new
connection, performs the query, and then drops the connection. This
takes on the order of 300-500ms. We're querying attributes that are
indexed,