1 Reply Latest reply on Jul 8, 2011 5:50 PM by alesj

    MC Bean deployment without a deployment descriptor?

    ovidiu.feodorov

      I am trying to figure out how to deploy a simple annotatated MC bean without any *-beans.xml. I am using JBoss 5. Annotating a POJO with @org.jboss.beans.metadata.api.annotations.Bean(name="something") should give the deployer sufficient information to create and start the service, but in a default configuration the deployment does not happen.

       

      Is this even possible? I am reading various discussions on annotation scanners and such, but it is not very obvious how to turn this functionality on.

       

      Thanks,

      Ovidiu