1. What file should I change to keep only the modules I need and remove the others that are not used, e.g. Tomcat? In the 'server' subdirectory, there are three subdirectories, all, default, and minimal. Each has its own subdirectories and files. I know the run.bat uses 'default' if not overridden with -c flag. But what files to change to take out the unwanted modules?
2. If I want run JBoss within my own Java app. as an embedded EJB container, what class/method should I use to bootstrap JBoss?