users@ejb-spec.java.net

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

From: Jeremy Bauer <jrbauer_at_us.ibm.com>
Date: Fri, 8 Mar 2013 09:48:59 -0600

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