Deploying to Private Infrastructure

As mentioned earlier, TorqueBox supports three different ways of running an app. You’ve been using torquebox run in development, but now you’ll switch to one of the other methods for production.

The first option is the torquebox war command, which generates a WAR file that’s ready to be deployed into a JBoss WildFly container. If you’re already running a JBoss server in your enterprise, then the TorqueBox WAR file will fit right into your existing deployment strategy. But if you’re not running JBoss, the executable JAR file is a better solution.

The torquebox jar command generates a completely self-contained executable JAR file from your application. Because you can run this JAR file with a simple java ...

Get Deploying with JRuby 9k 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.