You would actually need the remote/home interface to extend multiple interfaces yes, rather than the typical implement multiple interfaces.
cheers dim On Tue, 13 Nov 2001, Dain Sundstrom wrote: > It is perfectly legal in Java to implement more then one interface. > > > -----Original Message----- > > From: Juergen Fiedler [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, November 13, 2001 11:41 AM > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] Making EJBs comparable > > > > > > Hi, > > > > I would like to put the bean objects contained in a Collection > > returned by a home interface's findAll() method into a SortedSet (or > > something similar). > > The most convenient way to do that would be to have the bean implement > > Comparable. Is that possible? It doesn't look like I can derive the > > remote interface or the home interface from Comparable, because both > > of them are already derived from EJBObject and EJBHome respectively. > > Would having the bean class implement Comparable make any difference? > > Or do I actually have to write my own Comparator? > > Any halp would be greatly appreciated. > > > > TIA, > > Juergen > > > > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
