• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Needed: Alternative to JNDI to connect to LDAP

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
Bryan Hughes
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For service locator pattern details(and other J2EE patterns) refer to
"Core J2EE Patterns" from Sun(by Deepak Alur etc)
Dan.
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Tonny Tssagovic
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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,
 
You'll never get away with this you overconfident blob! The most you will ever get is this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic