How to expose / access EJB3 via IIOP in JBoss EAP 5
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
