From version 7 of the JBoss application server, class loading is based on the JBoss Modules project. In this recipe, you will learn how to install the Twitter4J
library as a module on the JBoss EAP 6 cartridge. The modules
directory under the JBoss server home houses all the modules installed on the application server.
The source code for the application created in this recipe is on GitHub at https://github.com/OpenShift-Cookbook/chapter7-recipe4.
This recipe builds on the application created in the Creating and deploying Java EE 6 applications using the JBoss EAP and PostgreSQL 9.2 cartridges recipe. So, please refer to that recipe before continuing with this recipe.