Just remove the deployments.
You will find some dependencies get in
the way, but you can also remove these
if you are sure.
e.g. The EJBDeployer in jboss-service.xml
has a dependency on jms because EJBs
can be MDBs. If you don't use MDBs you can
remove JMS and the dependency.
Thanks, I am going to try it.