I am wondering whether when developing a Local EJB the container will register the bean in JNDI also or not?
Actually I deployed a simple bean in Glassfish and then browsing JNDI I couldn't find the bean, any idea why? When deploying it as a Remote bean, I can see it in the JNDI browser of Glassfish admin console....
In my opinion all ejbs are available via JNDI, the local and the remote available ejbs.
In the jndi browser of glassfish v2 you see only the remotly available ejbs.
If you switch to JBoss and browse JNDI tree there you will notice jndi entries having:
* having no prefix - these are remotly available
* having prefix java: - these are only locally available
* having prefix java:comp/env pre ejb - these are the ejb locally available entiries like env-entry, etc