directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <>
Subject RE: Question on usage
Date Fri, 16 Apr 2004 00:50:32 GMT

I'm not the lead on the naming JNDI provider but don't think you can 
use your code with it because of namespace issues.  The naming code may 
have a provider but I think its suited to toward the java ENC namespace.  
If your code is written to work with an LDAP directory via the JNDI then 
it will not work with anything other than a JNDI LDAP provider.  

I would recommend using Eve's LDAP JNDI provider which basically embeds 
the Eve directory server's backend into your application but its still 
under development.  


> -----Original Message-----
> From: Ralph Goers []
> Sent: Thursday, April 15, 2004 5:54 PM
> To: 'Apache Directory Developers List'
> Subject: Question on usage
> 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

View raw message