Deploying with JRuby: Deliver Scalable Web Apps using the JVM (Pragmatic Programmers)

Deploying with JRuby: Deliver Scalable Web Apps using the JVM (Pragmatic Programmers)

Joe Kutner


Deploy utilizing the JVM's excessive functionality whereas construction your apps within the language you like. JRuby is a quick, scalable, and robust JVM language with all of the advantages of a standard Ruby atmosphere. See the best way to consolidate the various relocating components of an MRI-based Ruby deployment onto a unmarried JVM technique. you will how one can port a Rails program to JRuby, get it into creation, and continue it running.

JRuby deployments have fewer relocating elements and eat much less reminiscence than conventional Ruby deployments, yet to installation your apps at the JVM, you want to examine a few new ways. This e-book introduces you to 3 JRuby deployment innovations that may provide the functionality and scalability you would like whereas letting you utilize the language you love.

you are going to commence by way of porting an latest program to JRuby, getting ready the app to use the JVM platform. Then you are going to use Vagrant and Puppet to construct a digital construction surroundings so that you have a good, reproducible position to discover JRuby deployment.

along with your setting in position, you will test with uncomplicated JRuby deployment with Warbler as you package deal your Ruby net software right into a unmarried dossier you could installation to a Java software server. subsequent you will arrange the light-weight Trinidad internet server to create a extra versatile, modular deployment that matches extra complicated events yet nonetheless feels pleasant and standard to Ruby builders. you are going to change to powering your app with TorqueBox, an all-in-one JRuby surroundings that comes with integrated help for messaging, scheduling, and daemons--perfect for dealing with the "big jobs." Then, you will organize a continual integration atmosphere with Jenkins so that you can install just like the pros.

Deploying with JRuby is the lacking hyperlink among having fun with JRuby and utilizing it within the actual global to construct high-performance, scalable applications.

What You Need:

To run the examples during this publication, you will need a working laptop or computer which could run the Java digital Machine.

Show sample text content

Download sample