I am trying to upgrade a web application made in Java EE, using Tomcat. Till now I have been using the Netscape ldap implementation, and now I am trying to upgrade to Unboundid Ldap. The problem is that the Unboundid implementation has a very high delay comparing to the netscape implementation.
Some info on what I am planning to do: I want to get from LDAP the last 5 entries, put them in an array and display this array in a webpage.
EDIT1: I have created 2 sample apps for testing the libraries, using Java SE. For each test I have attached the source code and the server side LDAP log.
The results are the same, no matter how may iterations I use, it takes on average much longer to retrieve the results using the UnboundID SDK implementation.
For Netscape LDAP SDK: code and log. For UnboundID LDAP SDK: code and log
EDIT2: I am also trying to use the ldap-debugger tool, provided by UnboundID, but I can't figure how to make it work, I see that it takes as arguments the ip and port on which to bind, and the clients should connect the the ldap-debugger and he will act as a proxy, but where do I specify the server ip and port, because in the client I've already put the ip and port for ldap-debugger ?