This content has been marked as final.
Show 3 replies
-
1. Re: Performance issue to use remote ejb?
peterj Jun 29, 2010 12:34 PM (in response to akhtar24)1) By value
2) Not sure of what you are asking. If the EJB is remote, the request and response data will always have to be marshalled and transferred across the network. Is that slower than accessing a local EJB? Yes! But there is no other way to access a remote EJB. If possible, cache the EJB proxy you look up from JNDI. By reusing this proxy you will at least save time by not repeatedly making the JNDI call.
-
2. Re: Performance issue to use remote ejb?
akhtar24 Jun 29, 2010 12:32 PM (in response to peterj)Hi Peter, Thanx a lot.
i also have doubt in
1) If we use remote ejb then it marshalled and unmarshalled object and transferred across the network. that means it called as call by value not call by reference. am i right?
Please help me...
Thanx again.
-
3. Re: Performance issue to use remote ejb?
peterj Jun 29, 2010 12:34 PM (in response to akhtar24)You are right, I got my terms confused, it is call by value!