@local annotated beans not accessible within the same JVM

Solution Verified - Updated -

Issue

  • What are the access boundaries for beans annotated as @local vs being annotated as @remote? Do local beans have their accessibility restricted so that they are only visible within an EAR or a WAR, and therefore not exposed or visible amongst separate EARs/WARs? We can access @remote interfaces but not the ones annotated with @local although both jars located in the same JVM.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.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.