Inject an EJB in JBoss EAP 6 / 7

Solution Verified - Updated -

Issue

  • inject EJBs with @EJB
  • Use ejb-jar.xml to inject a reference to an EJB

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5
    • 6
    • 7
  • Enterprise Java Beans (EJB)

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