You can make the MDB depend upon that which must be deployed before the MDB is deployed.
This can be set using the @Depends class-level annotation.
For example, if there are two session beans that must be deployed prior to the MDB then
add the following annotation.
| @Depends({
|
"jboss.j2ee:ear=myEar.ear,jar=myJarFile.jar,name=MySessionBean1,service=EJB3",
|
"jboss.j2ee:ear=myEar.ear,jar=myJarFile.jar,name=MySessionBean2,service=EJB3"
| })
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020820#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...