a fella recommended me to use ApacheDS as a replacement for my database (MySQL) you can find the discussion here
i am completely new to LDAP and ApacheDS (actually i had no idea about it yesterday), i searched about it and read some articles , finally i got this page.
considering LDAP a network protocol (if it is) is it possible or is it a wise choice to use LDAP Servers like ApacheDS as a persistence solution for desktop applications ?
doesn’t LDAP need an application server (like tomcat) to run?
can you please light me up 🙂
thnx
LDAP needs an LDAP service to run, like ApacheDS, OpenLDAP or the like. It doesn’t need anything else.
There are two advantages of LDAP has over an SQL database.
One is much finer access controls e.g. you can have a “column” which can be updated by anyone in the “adminstrator” group and readable by the user and his/her manager only. The LDAP database can implement your security policy which ensures it is centrally auditable.
LDAP databases tend to have better query and read performance (sometimes by an order magnitude), but much lower write performance (also sometimes by an order of magnitude). This is on the assumption that you use it to look up details e.g. username/password far more often than you change them.
I wouldn’t use an LDAP database for logging for this reason.