[jboss-user] [Clustering/JBoss] - How to define JNDI name for EJB3 singleton mbean accessible

edungey do-not-reply at jboss.com
Thu Jul 27 01:25:22 EDT 2006


We have EJB3 MBean that is using the @Depend annotations:

  | @Service(objectName = "eventmanager:service=eventcontainer")
  | @Remote
  | @RemoteBinding(jndiBinding = "EventContainerInterface")
  | @Depends( { "jboss.ha:service=HASingletonDeployer,type=Barrier" })
  | public class EventContainerMBean implements EventContainerInterface {

It's currently deployed in the farm directory so that all nodes pick it up.  The main problems is I need to have it's JNDI name accessible to all nodes other than the master?  Is this possible without having to place it in the deploy-hasingleton directory.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961183#3961183

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961183

More information about the jboss-user mailing list