Hi!

Pedro Mota wrote:
> I have a question (maybe a newbie question) :
> 
> What happens when I redeploy a bean (a session bean for example)
> and there is one (or more) client connected to one (or more)
> instance/s of this bean?
> 
> (a) The bean is destroyed and the client disconnected

Yes.

> (b) The client continues to work with the bean until it calls
>     remove()... upcoming clients work with "new beans"?
> 
> (c) more imaginable scenarios...   :-?
> 
> -----------------------------------------------------------------
> If the answer is (a) then I have another question...
> 
> What happens to any pending transaction? They are rolledback?

When the first bean is undeployed the distribution layer plugin should
stop all incoming requests and wait until any pending ones are done.

(uhm.. this is presently not happening..)

/Rickar

-- 
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.ejboss.org
http://www.dreambean.com


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to