[EMAIL PROTECTED] writes:

> I know this is not really jboss related, but rather java in general
> but I thought I would try.  I have an ejb(cmp) , it has a: public
> Collection findAll() method. I havent used the Collection class so I
> cantfigure out how to implement this .  I am trying to populate a
> dropdown box on a jsp page with this collection.  If anyone knows
> where some Collection examples are online I would appreciate
> it. Ihave looked through several Enterprise java books with no luck.
> Thanks,Graham

        Collection collection  = homeInterface.findAll();
        ArrayList someListData = new ArrayList (collection);

-- 
  Nicolai P Guba    http://www.gnu.org         http://www.frontwire.com
                    mailto:[EMAIL PROTECTED]     mailto:[EMAIL PROTECTED]
                    GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to