求教精通ejb规范的高手,关于Dependent Value Classes的疑问
在ejb2.1规范的第147页下面,
A dependent value class is a concrete class that is the value of cmp-field. A dependent value class may be a class that the Bean Provider wishes to use internally within an entity bean with container-managed persistence, and/or it may be a class that the Bean Provider chooses to expose through the remote (or local) interface of the entity bean.
A dependent value class can be the value of a cmp-field; it cannot be the value of a cmr-field.
The get accessor method for a cmp-field that corresponds to a dependent value class returns a copy of the dependent value class instance. The assignment of a dependent value class value to a cmp-field using the set accessor method causes the value to be copied to the target cmp-field.
A dependent value class must be serializable. The internal structure of a dependent value class is not described in the EJB deployment descriptor.
最让我看不懂的就是第3段,怎么会是拷贝传的参数呢,本地客户试图的方法不都是pass by reference的么?Dependent Value Class又是什么东西呢,好像从没有听说过。