Mike

You can store it in the HttpSession and reuse it if it is there.

Tony
----

Mike wrote:
>
> My question is how do I maintain session state when using HTML, Servlets and EJB's?
>
> Scenario:
> 1) An HTML client(view) invokes a servlet. 2) The servlet(controller) calls an EJB 
>Session bean (Model). 3)The Servlet sends a response back to the client and 
>terminates. The HTML client invokes the servlet to do something
> else, and so on.
>
> Question:
> 1) How do you maintain a reference to the Session Bean once the Servlet destroy() 
>method is called?
>
> ===========================================================================
> 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".

--
Tony Holderith                      | Interactive Business Solutions
[EMAIL PROTECTED]  | NetCentric Solutions
http://www.interactivebusiness.com  | Business Objects
voice: 310.414.6760                 | fax: 310.414.6759

Don't connect to the Internet - be there.        IBS

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