jsr345-experts@ejb-spec.java.net

[jsr345-experts] Creating Embeddable Container without closing the previous?

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 07 Mar 2013 10:01:31 -0800

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