How to Load a Jar which is placed inside an EJB jar in EAP6

Solution Unverified - Updated -

Issue

  • My EJB Jar is dependent on some of the classes which are available in some other JAR files, So I want to place those JARs inside my EJB jar file, Is it possible?

  • I have the following Directory structure of my EJB Jar:

remoteEJB.jar
├── A.jar
├── B.jar
├── META-INF
│   └── MANIFEST.MF
└── remote
    ├── CallerBean.class
    ├── CallerBean.java
    ├── CallerRemote.class
    └── CallerRemote.java

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0

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.