You can build a generic servlet and put whatever you need to be shared by all
the clients.
In the doGet() method, you can invoke methods in this servlet to return what
you need.


[EMAIL PROTECTED] wrote:

> I have a question for the group and would greatly appreciate your
> responses.
>
> I am making a connection to a stateful session bean from a servlet. The
> connection to the session bean is made in the doGet method of the
> servlet. I make multiple connections to the servlet from the browser. My
> intention is to access the same stateful session bean for this multiple
> invocations of the servlet. Instead I am getting a new copy of the
> session bean for each individual invocation of the servlet. Is there a
> way to access the session bean across this multiple invocations of the
> servlet other than putting the session bean in the init method of the
> servlet. Do stateful session beans have a concept of a unique key by
> which they can be identified and retrieved? I am using Weblogic 4.5 EJB
> server.
>
> Thanks,
>
> Kiran
> Sr. Systems Analyst
> E-Commerce group.
> United Airlines
>
>                   Name: WINMAIL.DAT
>    WINMAIL.DAT    Type: unspecified type (application/octet-stream)
>               Encoding: x-uuencode
>
> ===========================================================================
> 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