Hi folks,

I was just thinking more info might be useful for the question from my
last post...

the Finder method returns an Enumeration of  MyEntityBean's Remote
Objects:

public abstract Enumeration findByName(String name1, String name2)
throws RemoteException, FinderException;

the code from my Stateless Session Bean that calls this finder method
is:

      home = (MyEntityBeanHome)getHome(MyEntityBeanHome.class); //gets
the Entity Bean home.
      Enumeration e = home.findByName(name1, name2);
      while (e.hasMoreElements()) {
        identity = (MyEntityBean)(e.nextElement());
        ...
      }



--
Daniel G. Koulomzin
Digital Media On Demand
244 Brighton Ave. 3rd Floor
Allston MA 02134





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to