[Logo]
Forums Register Login
Needed: Alternative to JNDI to connect to LDAP
I am currently using JNDI to connect and interact with Sun's LDAP server. However, during performance testing, we've noticed that as the number of user records increase, the speed in which results are returned from the LDAP dramatically decreases.
At this point, after reading about latency issues with JNDI, I'm looking for alternatives. Can someone please comment on their experience with other products that have worked? I'm open to almost anything (openLDAP, Novelle, etc...), so all feedback is appreciated.
 
Originally posted by Bryan Hughes:
after reading about latency issues with JNDI.

Why don't u cache the JNDI Lookups with something like a service locator?
 
Why don't u cache the JNDI Lookups with something like a service locator?
Can you direct me to some examples of what you're describing? Some of this is new territory for me.
For service locator pattern details(and other J2EE patterns) refer to
"Core J2EE Patterns" from Sun(by Deepak Alur etc)
Dan.
Are you certain you're not overloading your LDAP server? We've often seen that the bottleneck is there rather than in JNDI. Watch the CPU utilization numbers on your LDAP server to be sure...
Kyle
 
Originally posted by Bryan Hughes:
Can you direct me to some examples of what you're describing? Some of this is new territory for me.

You can check out the j2ee patterns at Service Locator and I recommend you to download EJB design patterns (free from The server side) You need to register however, and the book is a good read even if you are not using EJBs. (Just skim though it and check the EJB factory pattern which is an EJB specific implementation of the service locator,
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 24, 2017 02:48:19.