I want to know wheather to entity bean can
read from the Directory Server through LDAP.
Thanks in Advance.
sorry .i couldnt get ur question properly..
so i am taking in the following way.....
"I want to know wheather a entity bean can be read from the Directory Server through LDAP."
u can do the same using JNDI.
infact EJB 1.1 specification suggets u to do the same.
if u use JNDI ur code will be potable to various directory servers also.
with ejb you can communicate with a directory server in the same way as you do with an ordinary java object. if you are using NetscapeDirectoryServer, then you could use the LDAPSDK provided by them.
u can use the corresponding API of the direcory server.
but ur code wont be portable across directory servers.
if u want portability go for JNDI.