Hi 

Does anyone know if local/remote method calls from EJB to EJB are optimized
on Orion. 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 orion
optimize this call. What I mean is does orion 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....

Reply via email to