ejb@glassfish.java.net

Re: : stateful EJB

From: נחום מורדוכוביץ <nahummor_at_gmail.com>
Date: Thu, 14 Jan 2010 06:25:34 +0200

*sorry i missed the word every*
*
*
On Thu, Jan 14, 2010 at 03:15, Marina Vatkina <Marina.Vatkina_at_sun.com>wrote:

> What is the instance time that you are looking at?
>
> thanks,
> -marina
>
> נחום מורדוכוביץ wrote:
>
>> *
>> *
>> *hi,
>>
>> *
>> *I started recently to study EJB,*
>> I wrote a small program, a stateful ejb with two business methods,
>> getX() and increaseX()
>> my question is whay when i call the ejb from more then one session
>> (Different browsers)
>> i get the same instance every time ?
>> Are every new session make a new instance of stateful ejb ?
>>
>> thank you
>> nahummor
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net
>
>