What bothers me is: since the PersistentSet's local interface is generated automatically, is it possible to accomplish that it also implements interface Set (beside the interface EJBLocalObject), something like
public interface LocalPersistentSet extends Set, EJBLocalObject { //empty, since all the business methods are inherited from Set }
and not like:
public interface LocalPersistentSet extends EJBLocalObject { public boolean contains(Object element); }
I was in a similar situation a few weeks ago. I ended up making the bean implement the interface, and
using dynamic proxies (java.lang.reflect.Proxy) to make my EJB Locals behave like the interface.
Since the method names should be identical, it isn't very hard.
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
