Installing modules with JBoss cartridges
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.
Getting ready
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.
How to do it…
Perform the ...
Get OpenShift Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.