Taxonomy of how to achieve good concurrency:
General hints
Frameworks like JBoss come with a great number of .jar Files on which your application can depend. Often you know which class you need but you dont know in which jar the class hides. To help you find the jar file you need to include in your build path change to the directory where you expect the .jar and use the command (replace ServiceMBeanSupport with the class you are looking for)
find . -name "*.jar" -exec bash -c "echo {} && jar tvf {} | grep ServiceMBeanSupport " \;