We are working on creating a session bean that will act as the single point of entry to all our EJBs.
What I would like to know if it is possible to do a lookup dynamically all session beans known to the JBoss container so that this bean can get to their remote interfaces.
We can achieve something similar by adding the necessary mappings to the deployment descriptor but this is not ideal. Any ideas?
Thanks in advance.
Ricardo
Look at the code for org.jboss.naming.JNDIView
it does something similar.
For portability JSR77 (JBoss3) is the best solution.
Regards,
Adrian