The spec states:

"Remote calls involve pass-by-value. This copy semantics provides a
layer of isolation between caller and callee, and protects against the
inadvertant modification of data. The client and the bean may be
programmed to assume this parameter copying."

and

"Local calls involve pass-by-reference..."

This is just saying the local view EJB calls are like any other local
call right in Java, right?

Just double checking, because I understood that local calls in Java
were always pass-by-value; it just happens that most of the time we are
passing object reference variables (rather than primitive variables) by
value. So, the difference would really be (a bit of guessing here,
since I have not really done anything with RMI) the copy semantics,
rather than pass-by-value as opposed to pass-by-reference. Not trying
to be fussy over the wording, just double checking what is being
conveyed... haven't coded any test cases. Please correct me if I am
wrong.

Thanks,
Mike


__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

===========================================================================
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