Can we make one .war file dependent on another .war file in EAP ?

Solution Verified - Updated -

Issue

  • How to make one war file dependent on another war file?
  • I have two free-standing war files deployed (not contained within an ear), and I would like war1 to be able to load classes from war2. Is this possible? Is there something I can add to the "Dependencies" in the MANIFEST.MF of war1 to allow for this?
  • How i should to configure a webapp to load a .jar in the lib folder from another .war using jboss deployment structure?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.