CDI 13.1 says: "An implementation does not need to support multiple calls of SeContainerInitializer.initialize() method when the SeContainer is running."

 

If a Java SE application wants to create distinct Containers containing beans from the same JAR library, this effectively means, it MUST create multiple initializers, but the initializers MAY share the same default ClassLoader, OR does that means that each initializer MUST be given a separate ClassLoader, OR does that mean that it is IMPOSSIBLE to create multiple SeContainers at the same time?

 

Thanks for clarification!

-Markus