0 Replies Latest reply on May 9, 2006 5:11 AM by Gerhard

    Programatically create Service POJO

    Gerhard Newbie

      Hi.

      I have a Service POJO that needs to create other MBeans on the fly according to information stored in a properties file.

      I can create the MBean from the controlling Service POJO MBean (with MBeanServer.createMBean), but since they are not created in the same wat as the annotated Service, they are not available as EJB's with lookups like:

      ctx.lookup(MBeanName/local");

      Is there any way in which I can programatically create MBean from a controlling MBean, and not code these MBeans in the "traditional" manner, but by using annotations?

      Thank you!