I would want to use EJB Session Stateless to implement business logic used by n applications.
The current specs (J2EE 1.4) only speak about communication between a client and an EJB in the SAME J2EE application.
I would like to know if access to an EJB located in another J2EE Application remains possible, and if it isn't considered 'deprecated' pratice.
I'm thinking the current specs implicitly declare it deprecated (use of ejb references , i.e. java:comp/env/ejb/xxx, can only be used for EJB in the same application).
In this case, what should be considered best pratice :
1. use JMS to call my distributed object.
2. bundle my EJBs in a EJB module, which will be used by n applications.