|
Replies:
2
-
Last Post:
Jan 2, 2008 2:17 PM
by: whartung
|
|
|
|
|
|
|
How do EJBs communicate between an Enterprise Application and an EJB Module?
Posted:
Jan 2, 2008 11:56 AM
|
|
|
Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01)
How do EJBs communicate between an Enterprise Application and an EJB Module?
I'm going to assume that the standard Remote and Local rules apply, even though one EJB is in a .ear and the other is in an EJB .jar?
--Todd
----------------------------------------- NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
|
|
|
|
|
|
|
Re: How do EJBs communicate between an Enterprise Application and an EJB Module?
Posted:
Jan 2, 2008 12:24 PM
in response to: Todd Patrick
|
|
|
I believe if it's outside the EAR you have to use Remote.
|
|
|
|
|
|
|
|
Re: How do EJBs communicate between an Enterprise Application and an EJB Mo
Posted:
Jan 2, 2008 2:17 PM
in response to: amattas
|
|
|
Yea, only elements deployed within the same EAR can enjoy Local semantics, outside of the EAR you have to use Remote.
Now, the fact than an EJB may be in a JAR that's deployed WITHIN an EAR, doesn't change that. The EJB in the JAR is deployed IN the EAR, so it can use Local calling even though it's packaged within a JAR.
For example, I have common EJBs in their own library JAR file that I use with different EARs, but they all enjoy Local calling semantics once deployed within an EAR.
|
|
|
|
|