About Question enthuware.oce-ejbd.v6.2.560 :
Posted: Thu Jan 10, 2013 10:10 pm
Why was written "...Non-remote objects must be passed by value"?
In the specification:
The classes that are exposed by the local interface of the bean may be tightly
coupled to the bean’s internal state. Instances of these classes are passed to
and from the client by reference and may therefore be modified by the client.
The Bean Provider should exercise care in determining what is exposed through the
local interface of the bean.
In the specification:
The classes that are exposed by the local interface of the bean may be tightly
coupled to the bean’s internal state. Instances of these classes are passed to
and from the client by reference and may therefore be modified by the client.
The Bean Provider should exercise care in determining what is exposed through the
local interface of the bean.