directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@digitalinsight.com>
Subject Question on usage
Date Thu, 15 Apr 2004 21:54:20 GMT


I currently have code that uses JNDI to access LDAP. I then have unit tests
for that code.  At the moment these go against a real LDAP. I would like to
use an in-memory JNDI implementation instead to do unit testing (it really
borders on functional testing since it writes stuff and then reads it).

Is the naming package appropriate for this?  From a quick glance I'm hoping
BaseDirContext will do the job, but I don't see a factory to set
java.naming.factory.initial to.

Any advice would be appreciated. 

Thanks
Ralph

Mime
View raw message