This tag specifies whether EJB object references in a generated value object should be represented as a value object or a local interface. That is, when a value object is generated for a CMP entity bean, it contains al the EJB's fields. If one of these fields is another EJB - in most cases this would be a CMR field used to model an entity relation - you can choose to have this field represented as a value object or a local interface.
Class tag on entity beans.
@ejbgen:value-object
reference="Local/Value"
reference
Required. Specifies how EJB object references in a value object class should be represented. Valid values are Local and Value.
The following rules apply to this tag's use: