It helped me partially...
In fact, you can not do interfaces everytime for all classes...
I took the example of Team and Player.. but in fact, I need to deploy Hibernate and all my hibernate objects... and then I have to deploy my mbeans that accesses to hib-objects.
But I've found the following solution :
|-- hibernat2 needed jars
|-- jboss-service.xml with classpath to HibernateObjects.jar
|- all my classes
|- jboss-service.xml with classpath to HibernateObjects.jar + hibernat2.jar
|- it needs to access to classes from MyMbean.sar .. I think I will have to make myMbean.JAR and store it externally to MyMbean.sar
I'm doing test, if I redeploy a jar, it should be ok for .sar that uses it !
You can just specify linear dependency in your sars.