This content has been marked as final.
Show 1 reply
-
1. Re: to solve this problem
juhalindfors Jan 26, 2003 7:26 AM (in response to hammerchampy)Package the remote interfaces of application B and deploy them with application A (there are many ways to do this, it depends which approach you prefer -- you can add the interfaces as part of your application A jar or create a separate jar for them, etc.).
Then application A should do a normal lookup for an EJB in the java:comp/env namespace and you need to map that lookup string (that you use in your code) to the global JNDI name that beans in application B use. This mapping you can do in jboss.xml (<jndi-name> tag, see the DTD for more info).
HTH