I have 2 sar files and I want to make one bean in one file depend on another bean in another sar file...I thought that I could just easily use the depends tag but a dependant bean is being deployed too early...here are the jboss-service.xml contents for each...remember that they both exist in seperate sars (is that okay?)
---first file ----
<server> <mbean code="com.embsoft.service.EmbraceServiceJBoss" name="embsoft:service=serviceregistry"> .... </mbean> </server>
<server> <mbean code="com.embsoft.jts.jboss.JtsJBoss" name="embsoft:service=jts"> <depends>jboss:service=Naming</depends> <depends>jboss:service=TransactionManager</depends> <depends>embsoft:service=serviceregistry</depends> </mbean> </server>