JBoss Community

MC Bean deployment without a deployment descriptor?

created by Ovidiu Feodorov in JBoss Microcontainer - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community