excuse me ,
In the ejb-jar.xml ,Can the tag <ejb-ref> describe the JNDI information ? Because I want to reference another application server . Is it possible ?
thanks for your time ^_^
-
EJB XML descriptor (1 messages)
- Posted by: harrison su
- Posted on: June 18 2002 02:16 EDT
Threaded Messages (1)
- EJB XML descriptor by Mark Hills on June 18 2002 14:52 EDT
-
EJB XML descriptor[ Go to top ]
- Posted by: Mark Hills
- Posted on: June 18 2002 14:52 EDT
- in response to harrison su
Check out http://java.sun.com/j2ee/j2ee-1_3-fr-spec.pdf for the J2EE spec, including info about the descriptor. Essentially, you can't reference an EJB in another application, although you can reference one in a different EJB jar file in the same application.
If you want to softcode the location of an EJB in another application you could potentially use something like an environment entry to store the JNDI connection information. Then, you would access the EJB just like any other client.
Mark