.sar files are deployed first, so you could include
the jars there.
Next are -serivce.xml, you can specify a classpath
attribute which lists the jars.
This is how conf/jboss-service.xml deploys all
the jars in server/[config]/lib
There is a notion of class dependency in jboss4
but only for MBean classes.
i have a problem similar to the one mentioned above.
i have an ear which contains classes i need to have deployed. i am unable to package these classes into a .sar -- is there some way i can create a foo-service.xml and have it depend on the ear deployer to complete before it is loaded?