Hi

I realize this will be application server specific but does anyone know if
local/remote method calls from EJB to EJB are optimized. For example if
Entity Bean A calls Entity Bean B and they are both located in the same app
server (e.g. now a local call) then does the app server optimize this call.
What I mean is does the app server know that the call is local and so does
not go through all the remote call overheads.

To me the EJB spec seems to indicate that this sort of optimization should
be done. For example if Entity Bean A calls Entity Bean B then I have to put
an EJB reference in the deployment descriptor. Now to me this is telling the
container which EJBs you are calling and so at deployment time the container
works out if a call from Entity Bean A is a remote call to Entity Bean B by
checking if the two beans will be on the same app server. if the situation
changes eg Entity Bean B is put on a different app server then they will
have to be re-deployed at which point the optomisation can be changed.

Make perfect sense to me, or am i missing some thing....

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to