The behavior you are seeing is as expected. Accessing finders and
iterating the results from remote clients is not recommended. As an
alternative, see the various message threads in the archives for this
list concerning return objects by value to clients, or implementing
collections of beans as beans themselves.
-Chris.
Patient: "Doctor, it hurts when I stick my finger in my ear".
Doctor: "Stop sticking your finger in your ear".
> -----Original Message-----
> From: Manisha Umbarje [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, June 14, 1999 12:37 PM
> To: [EMAIL PROTECTED]
> Subject: Application Server container related question
>
> Hi,
>
> I am new on this EJB interest group.. I don't know if this issue has
> already been discussed. I have been trying to access Bean Managed Entity
> Bean's remote methods from the servlet. I have implemented the method
> ejbFindByName() which returns Enumeration of Primary Key class of the
> Entity Bean and then I try to execute different methods on this object.
> But when I do so, I observed in the trace file of my application server
> that container is making calls to ejbLoad() every time I try to call
> remote method. It seems that Container is trying to synchronize Bean's
> state to DB state.
>
> That makes my application very slow.
>
> Is this way it should behave or am I missing something ?
>
> Manisha
>
> ==========================================================================
> =
> 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".