java:comp/env - required?
posted 15 years ago
Using java:comp/env/ejb makes it portable, as well as declaring that the object is question "is" an EJB. On the other hand, I have several legacy beans that are setup the way you mentioned. All that's really necessary is that however you refer to it, that the process of resolving the JNDI name returns the home of the item in question.