Normally I know the EJB name and try to access the refering EJB by a lookup(ejbname).
But does there exist the other way: I want to know which names are currently available ?
How do I implement such a request for a list of EJB objects?
Thomas
See list() and listBinding() methods in Context interface:
http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/Context.html
If you don't need to access the list from an application just
want to see it, use JNDIView through jmx-console.