How can I use libraries with static application specific initialization or states in EAP6

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content