MBeans in JBoss


General J2EE: MBeans in JBoss

  1. MBeans in JBoss (1 messages)

    I am planning to use MBean as startup class which initialize the application. But since startup class is using EJB it is always fail to lookup ejb. How do i configure the MBeans to start after the EJB deployment in JBoss

    Threaded Messages (1)

  2. MBeans in JBoss[ Go to top ]

    What I have done in the past is put a dependency on the service for the EJB. For example:

      <mbean code="com.xxxx.XXXService" name="myserver.server:service=XXXService"> <depends>jboss.j2ee:service=EJB,jndiName=jndi/XXXServerEJB</depends>