qm wrote:
I have used lazy load in my Class:Employee, a field is loaded as RelationCollection.  Then an EJBObject(implements the RemoteInterface) return the Employee object, by the RMI, so the Employee Object needs serializing.  The RelationCollection and all classes concerned need being serializable.
By the way, would anyone like to give me a solution before the revision on castor.

Lazy loading is used to delay object loading until it's actually used.
If you send your Employee object through RMI to your EJB client, the
RelationCollection won't be able to load objects (Castor is on the
server, not on the client).

I'm afraid it's not possible to use lazy loading with the EJB Value
Object pattern.

--
Mickael Guessant

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to