O'Reilly logo

OpenShift Cookbook by Shekhar Gulati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required