• 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

Is it right to keep JNDI in a table

 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it perfect if we keep JNDI names in a database instead of an LDAP Server
In other words what additional benefits we get if we use LDAP Server for storing of JNDI names
instead of a simple tbale in a database
Anyone Please give your views
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JNDI is optimised for these types of queries (search often update rarely) but there are some differences in performance. Database make some concessions to allow faster updates.
the main reason for using JNDI (from my perspective) is that it is what everyone else is doing so if you access these resources in a database it will be more difficult to maintain.
plus remember that jndi is a hierarchical data source - it is ideal for hierarchical data, while database is a complex relational thing - again, the optimisations that are made are significant under large loads.
finally, companies with existing LDAP solutions will want you to use them to maximise on their ROI and it is sometimes important to seperate configuration details from consumable data.

------------------
Chanoch Wiggers
Architect for Professional Java Mobile Programming
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic