How to expose / access EJB3 via IIOP in JBoss EAP 5

Solution Unverified - Updated -

Issue

  • I would like to access Stateless EJB3 via CORBA RMI/IIOP.
  • I coded this below, but it doesn't appear in Mbean service.CorbaNaming :

       import javax.ejb.Remote;
       import javax.ejb.Stateless;
       import org.jboss.ejb3.annotation.RemoteBinding;
       import org.jboss.ejb3.annotation.defaults.RemoteBindingDefaults;
       import org.jboss.ejb3.annotation.IIOP;
    
       @Stateless
       @Remote(ServiceCadeex.class)
       @RemoteBinding(factory = RemoteBindingDefaults.PROXY_FACTORY_IMPLEMENTATION_IOR) 
    

Environment

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