Yes, you are right, and also, every time a bean is 're-used' (passed to a
different client), you'll see
a Passivation/Activation pair, that will work pretty much as the
Create/Remove pair in Stateful Beans
HTH
Rifle
-----Original Message-----
From: Nithi, Rajan (GEP) [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 28, 2000 3:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Stateless Session Beans and instances
Hi,
Thanks a lot Malini.
I understand Stateless Beans are not created everytime. When the container
creates the pool of Instances (say for example 5 instances), the ejbCreate
method has to be fied for each instances (in our case 5 times). Am I right?
Regards,
Nithi.
-----Original Message-----
From: MALINI KRISHNAMURTHY [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 28, 2000 2:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Stateless Session Beans and instances
Hi,
Instances of Stateless Beans are not created everytime...It maintains a
pool of Instances and incase there already exists a Stateless Bean, it does
not create it again...It also does Swapping by which a very small number of
Stateless beans serve many clients...
It is a totally different concept for Stateful and Entity beans because they
have to manage Conversational state of these 2 beans...
Have I been clear??Let me know!!!!!
Regards
Malini
----- Original Message -----
From: Nithi, Rajan (GEP) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 28, 2000 11:21 AM
Subject: Stateless Session Beans and instances
> Hi,
>
> I have a basic question regarding Stateless Session Beans.
>
> I understand the container creates a pool of Stateless Session Beans.
> Which means the container creates a no of Stateless Session Bean
instances.
> So, in that case, is the following statement true ?
>
> No of times ejbCreate is executed on the container = No of Stateless
Session
> Beans instances created by the container.
>
> We are using NAS 4.0 and I found the ejbCreate method of our Stateless
> Session
> Bean is fired only once. So, does it mean that the container has only one
> instance
> of the Stateless Session Bean in the memory.
>
> Thanks in advance,
> Nithi.
>
>
===========================================================================
> 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".