If you store the handle then every time you have to get the Remote reference
everytime from the Handle.
instead store the remote reference in the Session object.

Sripada

Rakesh Rajendran wrote:

> Hi,
>   You store the handle rather than the remote reference of the EJB in the
> HttpSession object. Please correct me , if i have missed out something.
>
> Rakesh
>
> > ----------
> > From:         Dave Ford[SMTP:[EMAIL PROTECTED]]
> > Reply To:     A mailing list for Enterprise JavaBeans development
> > Sent:         Tuesday, April 18, 2000 4:46 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      HttpSession versus EJB Session Bean
> >
> > When using ejbs with servlets (or jsp pages), do you typically store any
> > client state in the HttpSession object or do you store all state in a
> > session ejb? What I have been doing is merly storing remote references to
> > ejbs in the HttpSession object, then storing all state in the ejb. Is that
> > standard practice when using servlets with ejbs?
> >
> > Dave
> >
> > ==========================================================================
> > =
> > 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".

===========================================================================
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".

Reply via email to