This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have MDB developed in EJB3.0 using annotations without any deployment discriptor. I would like to have capability ( may be through aop) to disable the deployment of certin MDB when the ear is deployed. I was checking ejb3-interceptors-aop.xml file in deploy directoty of jboss but can't find a way to disable deploying specific MDB contained in ear file. Any suggestions will be appreciated.