Posted By:
Michal_Maczka
Posted On:
Thursday, October 11, 2001 07:10 AM
I am using JNDI for accessing repositories of Java Objects. I have providers for Relational Database and RMI. Now I am pallnig to use LDAP. The problem is that once I have a reference (URL) to my repository I have to use differnt sytntax to bind an object to LDAP location: bind("cn=myName",object) instead of: bind("myName",object) that makes it difficult to switch to LDAP JNDI provider in transparent way. Does anyone knows some good and simple patterns which address this issue? Michal
More>>
I am using JNDI for accessing repositories of Java Objects.
I have providers for Relational Database and RMI.
Now I am pallnig to use LDAP.
The problem is that once I have a reference (URL) to my repository
I have to use differnt sytntax
to bind an object to LDAP location:
bind("cn=myName",object)
instead of:
bind("myName",object)
that makes it difficult to switch to LDAP JNDI provider in transparent way.
Does anyone knows some good and simple patterns which address this issue?
Michal
<<Less