users@ejb-spec.java.net

[ejb-spec users] [jsr345-experts] Re: Creating Embeddable Container without closing the previous?

From: Jean-Louis MONTEIRO <jeanouii_at_gmail.com>
Date: Fri, 8 Mar 2013 17:29:41 +0100

Same for OpenEJB, one only per JVM.
So only the first one actually creates the container. Other calls are just
ignored.
Synchronized at bootstrap then not concurrency issue.

Jean-Louis


2013/3/8 Jeremy Bauer <jrbauer_at_us.ibm.com>

> The WebSphere embeddable container is sequential as well. It supports one
> active container per VM.
>
> -Jeremy
>
>
>
> From: Marina Vatkina <marina.vatkina_at_oracle.com>
> To: jsr345-experts_at_ejb-spec.java.net,
> Date: 03/07/2013 12:02 PM
> Subject: [jsr345-experts] Creating Embeddable Container without
> closing the previous?
> ------------------------------
>
>
>
> Experts,
>
> The EJB spec (see 18.2.4Embeddable Container Shutdown) says the following:
>
> "An embeddable Container Provider is only required to support one active
> embeddable EJB container at a time per JVM. Attempts to concurrently
> create multiple active embeddable EJB containers may result in a
> container initialization error."
>
> The RI allows to create containers only sequentially.
>
> Question for those of you who *produce* embeddable EJB containers: do
> you *support* more than one container in the same VM?
>
> Question for those of you who *use* embeddable EJB containers: do you
> *use* more than one container in the same VM?
>
> thanks,
> -marina
>
>
>


-- 
Jean-Louis