How will your application know which bean to direct a certain user to?
Maybe if you give a little more insight into why you are trying to
accomplish this, someone will think of a solution.

For my application, I have an application-scope bean that acts as the
'manager' of a group of state beans, which are shared by different users.
It controls the life of them, along with access.

Mark

----- Original Message -----
From: "Michael Ni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 25, 2003 3:38 PM
Subject: different clients using the same instance of a bean


> How do I have groups of different clients from different browsers use the
> same instance of a bean.  I'm not talking about application scope.
> Application scope is everyone using the same instance of a bean.  I'm
> talking about bob and joe using one instance of bean A and ken and barbie
> using another instance of bean B while all clients are using different
> computers.
>
> Someone suggested servletcontext to me but I think that refers to
> application scope.  I was looking into session id but its depreciated in
the
> new java formats.  I dont understand how setAttribute and getAttribute
> works.  is anyone knowledgable in this subject and can direct me in the
> right direction?
>
> mike
>
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to