Hi,
Thibault Cuvillier wrote
>
> So the following method will not have the same result if the call is remote
> or local:
> public void addHello(List list) { /// EJB remote method
> list.add("Hello");
> }
>
> If the call is remote, the client argument will not change because
> of the marshalling.
> If the call is local, the client argument will be change (direct
> reference).
> ** This behavior is dependent of the middleware **
>
> I did not saw in the EJB spec any information about this potential
> portability issue.
>
> Any idea?
see EJB 2.0 9.3.1 and 11.1.1: at the end of those topics, they say that all
parameters that do not extend Remote must be passed by value, even if the call
is local.
I am surprised to have found that in chapters about persistence and not in the
chapter about distribution. Have I misread the specs?
Benjamin
===========================================================================
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".