Jump to ratings and reviews
Rate this book

Deploying with JRuby: Deliver Scalable Web Apps using the JVM

Rate this book
Deploy using the JVM’s high performance while building your apps in the language you love. JRuby is a fast, scalable, and powerful JVM language with all the benefits of a traditional Ruby environment. See how to consolidate the many moving parts of an MRI-based Ruby deployment onto a single JVM process. You’ll learn how to port a Rails application to JRuby, get it into production, and keep it running.

200 pages, Paperback

First published January 9, 2012

13 people want to read

About the author

Joe Kutner

7 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (10%)
4 stars
11 (57%)
3 stars
5 (26%)
2 stars
1 (5%)
1 star
0 (0%)
Displaying 1 - 4 of 4 reviews
Profile Image for Orest Ivasiv.
14 reviews2 followers
September 29, 2016
This books is unique, because the author (Joe Kutner) did really great work collecting several JRuby on Rails deploying approaches in one book. It's very convenience if you need some sort of review in scope of this subject.

I believe that any Rails developer which think that Java/JVM is enemy camp should read it. The tools which are highlighted in this book are very interesting and provide for Ruby/Rails developers broader space.

As for Java developers it's a good start point for integration Rails in corporate Java environment. The reader get all required info to get started.

Here is a list of tools:
Warbler (https://github.com/jruby/warbler) - Warbler provides a minimal, flexible, Ruby-like way to bundle up all of your application files for deployment to a Java environment
Trinidad (https://github.com/trinidad/trinidad) - Trinidad allows you to run Rails or Rack applications within an embedded Apache Tomcat container.
Kirk (https://github.com/strobecorp/kirk) - Kirk is a wrapper around Jetty that hides all of the insanity and wraps your Rack application in a loving embrace
Torquebox (http://torquebox.org) - TorqueBox is a new kind of Ruby application platform that supports popular technologies such as Ruby on Rails and Sinatra, while extending the footprint of Ruby applications to include built-in support for services such as messaging, scheduling, caching, and daemons.
jetpack (https://github.com/square/jetpack), it wasn't mentioned in book. It packages your JRuby webapp for Jetty.
I must admit that the most impressive is Torquebox. It's very powerful and it uses all power of JBoss App Server:
TorqueBox provides an all-in-one environment, built upon the latest JBoss AS Java application server and JRuby.
Such features as messaging, long running jobs, scheduled jobs are provided out of the box, have nice API which easy to use. Have a try.


Copied from my old blog http://halyph.blogspot.com/2013/02/re...
Profile Image for Clarence Bakirtzidis.
12 reviews
March 12, 2014
A good place to start for understanding what you need to do to get your Ruby app deployed and running under JRuby on the JVM. Multiple options are considered from simple through to "enterprise-grade".

A couple of things I don't entirely agree with are that using warbler and a WAR file are not a good production choice (the author continuously promotes the heaviest all-in-one app server solution as the best and most powerful one despite a trend towards simpler, lighter weight options - e.g. microservices. Also, you can run background jobs perfectly well with the WAR solution with something like Sidekiq without having to run these under MRI Ruby - the book infers otherwise.

Overall, its a good practical read which touches on some broader topics like CI, automated deployments, dev environments with vagrant, and JVM-centric profiling and management tools.
Profile Image for Dave Golombek.
289 reviews15 followers
August 1, 2016
The author touches most of the pieces of the puzzle around deploying with JRuby, as well as some pieces that aren't strictly related (such as how to use Docker, Rancher, Heroku, and others) but which help build out a pretty full-featured demo of a SOA with JRuby running services in multiple roles. I personally wish he'd dived deeper into some of the subject areas (alternate web servers like Jetty and async frameworks like async_sinatra or Ratpack), but this does cover a lot of territory. This is another book I wish I had read a while ago, before we fought with some parts of it.
Profile Image for Tim McGilchrist.
23 reviews2 followers
January 6, 2013
Very practical view of the state of deploying jruby applications.
I find I'm constantly referring back to it while I setup jruby deployments for work.

If you're new to jruby and rails I'd recommend grabbing a copy of this book over trawling through online tutorials.
Displaying 1 - 4 of 4 reviews

Can't find what you're looking for?

Get help and learn more about the design.