I came across this statement while learning for scbcd
"The get method for a cmr-field MUST return either the local interface of the entity bean or a collection (either java.util.Collection or java.util.Set) of the same. The set method for the relationship MUST take as an argument the entity bean�s local interface or a collection of the same."
Why the get method should return a local interface . Does that mean CMR in entity beans can be accomplished pnly by the use of local interfaces
if entity bean participates in relationhips only using local interfaces. Remote interfaces are not allowed... In fact, the primary goal of introducing local interfaces into the ejb 2.0 spec was for CMRs only. Only later the spec team decided to make it applicable for all beans...