How to call a EJB remotely with different views in EAP6

Solution Verified - Updated -

Issue

  • A remote lookup of "ejb:app/ejb/MyBean!org.custom.MyBeanInterface" will end in a ClassNotFoundException as MyBeanInterface is not available in this application, it should be casted to the super interface
  • Is it possible to have a session EJB which is available with different interfaces to have different external views of the implementation?

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