From: Gregor R. <gr...@gm...> - 2001-07-04 18:19:55
|
Hi all. In my application I want to display a table with my objets. To make it more performat I wanted to use RowSet instead of findAll and then fatching the data for each object separately. (I use BMP, since the data are already stored in an RDBMS and used by legacy applications). This aproach works fine with a separate stateless session bean, which contains the method: ResultSet retrieveAllTabularData(void) throws RemoteException; I wonder, if I can throw the additional stateless session bean away and declare the method retrieveAllTabularData into the home interface of my entity bean. Is this allowed by the EJB spec? If yes, how can I do it? I tried to implement it in my bean under the name retrieveAllTabularData as well as ejbRetrieveAllTabularData, but JBoss always complained it cold not resolve the method. Is the Home interface at all the place for "static" methods of EJBs? Or is it necessary to create a stateless session bean? Thanks for any patterns. -- gR |