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 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.