Hi Sunder, In your remote/local interface define a business method to return a collection of data object. In your beans class implement it by selection method provided by system as a abstract method.
Fei Li ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Fei Li" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, September 24, 2002 10:21 AM Subject: Re: Finders in EJB 2.0 > Iam sorry, you are right, Iam looking for a way to avoid doing the > remote.getValue calls to the server. Is there a design pattern or > something else we can use? > > Thanks, > Sunder > > ----- Original Message ----- > From: Fei Li <[EMAIL PROTECTED]> > Date: Tuesday, September 24, 2002 10:16 am > Subject: Re: Finders in EJB 2.0 > > > Hi Sunder, > > > > I only know finder can find collection of remote/local interfaces. > > Are you > > sure you can find data objects? > > > > Fei Li > > > > ----- Original Message ----- > > From: "Sunder Rajan" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, September 24, 2002 9:48 AM > > Subject: Finders in EJB 2.0 > > > > > > > Hi Everyone, > > > I have a general EJB question. We have finders that return a > > collection> of dataobjects from the entity bean. When we iterate > > through the > > > collection and execute dataobject.getValue a server call is > > being made > > > for each one of these getValue methods. This is resulting in > > slowdown> on weblogic 6.1. Is there a way to prevent this? > > > > > > Thanks, > > > Sunder > > > > > > > > > ======================================================================== > === > > > To unsubscribe, send email to [EMAIL PROTECTED] and include > > in the > > body > > > of the message "signoff EJB-INTEREST". For general help, send > > email to > > > [EMAIL PROTECTED] and include in the body of the message "help". > > > > > > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
