How can I use libraries with static application specific initialization or states in EAP6
Issue
- It is necessary to use a third-party library which includes static initialization. For this it is necessary to not share the same instance between applications.
- Is it possible to use a module but force each application to have it's own instance?
- WebLogic or WebSphere features allow "Shared Libraries" where it is possible to use the same library but loaded in a different classloader context
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.