1 Reply Latest reply on Jul 27, 2006 10:55 AM by Brian Stansberry

    How to define JNDI name for EJB3 singleton mbean accessible

    Ean Dungey Newbie


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

      @Service(objectName = "eventmanager:service=eventcontainer")
      @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.