Pedro Mota wrote:
> 
> Hi all:
> 
> 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
> 

jBoss one works with this option

> (b) The client continues to work with the bean until it calls
>     remove()... upcoming clients work with "new beans"?

This would be the simple solution where a "deploy" on an existing
container keeps a container "live" until all clients have been removed. 
It is probably a good hack to look at 

> 
> (c) more imaginable scenarios...   :-?

versioning of course.  I had it in jBoss 0.3, worked ok, but makes the
container maps more complicated by a lot.

we will see as this might become mandatory for jBoss2.0

marc

> 
> -----------------------------------------------------------------
> If the answer is (a) then I have another question...
> 
> What happens to any pending transaction? They are rolledback?
> 
> Pedro Mota
> (seeking desperately a english teacher :-)
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


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

Reply via email to