O'Reilly logo

WildFly Configuration, Deployment, and Administration - Second Edition by Christopher Ritchie

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

Creating our first OpenShift application

Before we develop an application to run on OpenShift, we should first define some OpenShift terms:

  • Application: This is obviously the application you will deploy to OpenShift.
  • Gear: This is the container that contains your server, along with the various resources required to run your application, such as RAM, the processor, and hard disk space.
  • Cartridge: A cartridge is a plugin that provides a specific functionality. For example, you can select a WildFly cartridge and a database cartridge to be added to your gear.

Installing your first cartridge

To view all available cartridges, run the following command:

$ rhc cartridge list

The syntax to create an application is as follows:

$ rhc app create app_name cartridge_name ...

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