I would guess* that you have to do as you said. Pull back the Collection of EJBs in a session bean and loop through it, creating value objects as you go. That being said, I would bet it wouldn't be too much work to have Xdoclet generate that code for you.
* Why a guess? Your container creates the implementations for the home interfaces that Xdoclet generates. But the container has no knowledge of value objects -- Xdoclet generates all the code to create and update them. Therefore, the container-generated find method implementations would have no way of knowing how to convert EJBs to value objects. Peace, Dave David Harkness Sony Pictures Digital Networks > -----Original Message----- > From: Jason Essington [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2003 1:07 PM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] Finders that return ValueObjects > > > > Is it possible to create a finder that will return a Collection of > ValuObjects rather than Local objects, or do I need create the Set > manually in a Session bean? > > -jason > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/7> 11-11697-6916-5 > > > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
