Chapter 2Creating a Deployment Environment

A production JRuby environment is simpler than you might expect. There aren’t any C extensions to compile, which means you won’t need to install any native libraries. And you’ll run your entire app in a single process, which eliminates the need for tools that do coordination and load balancing. In fact, many JRuby deployments have only one external dependency: the JVM itself. For that reason, the steps in this chapter form the basis for every kind of JRuby app.

In Chapter 1, Getting Started with JRuby, you created a small JRuby microservice. Now you’ll provision a new environment for this service and package it with the essential software it needs to run in production. But just because you’re deploying ...

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.