File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Directory Service vs Relational Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Directory Service vs Relational Database" Watch "Directory Service vs Relational Database" New topic

Directory Service vs Relational Database

azhar bharat
Ranch Hand

Joined: Jul 17, 2006
Posts: 87
What are the benefits of using a Directory Service as opposed to a user database in a relational database system like mysql?

Please note that the context need not be security and authentication only. The user data in question might be used for other purposes too.
srini Raman
Ranch Hand

Joined: Oct 16, 2006
Posts: 33
Directory service is optimized for reading . If the data rarely changes and of course maintains a hierarchy we have to go with directory service.Otherwise database should be used.
azhar bharat
Ranch Hand

Joined: Jul 17, 2006
Posts: 87
Is it advisable to use both in a web app.
Like say, in an ecommerce application, can I have user info in a directory service and other info like product info in relational database?
It is sorta covered in the JavaRanch Style Guide.
subject: Directory Service vs Relational Database
Similar Threads
How to manage configuration parameters
synchronize relational database with LDAP directory
Hibernate, JNDI, JDBC.
Is The MySQL a Relational Database?
post relational database