How to include an EJB module in the deployment such as the EJB should not be registered in EAP 6 ?

Solution Verified - Updated -

Issue

  • There are two modules. Such as one of the module A is EJB jar and other module B is a web application WAR. Module B includes module A in it's classpath for classloading purposes, it doesn't use the EJBs of module A. But while deploying module B, all the beans of module A are being registered / deployed in the JBoss JNDI tree. So how to configure and include an EJB module in the deployment such as the EJBs of module A should not be deployed in EAP 6 ?

  • How to include an EJB module as a classpath reference in the deployment such as the EJBs should not be deployed in EAP 6 ?

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.