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

Attachment: msg12262/pgp00000.pgp
Description: PGP signature

Reply via email to