Writing Ruby on Rails apps, but having problems deploying using traditional Ruby tools? JRuby is a fast, scalable, and powerful JVM language with all the benefits of a traditional Ruby environment. Now you can deploy using the JVM’s high performance while building your apps in the language you love, using Deploying with JRuby: Deliver Scalable Web Apps using the JVM (Pragmatic Bookshelf, $33.00).
Author Joe Kutner says, “JRuby deployments have fewer moving parts and consume less memory than traditional Ruby deployments, but to deploy your apps on the JVM, you need to learn some new approaches.” This book introduces you to three JRuby deployment strategies that will give you the performance and scalability you need while still working in Ruby—no Java or XML required.
You’ll start by porting an existing application to JRuby, preparing the app to take advantage of the JVM platform. Then you’ll use Vagrant and Puppet to build a virtual production environment so you have a stable, reproducible place to explore JRuby deployment.
With your environment in place, you’ll experiment with simple JRuby deployment with Warbler as you package your Ruby web application into a single file you can deploy to a Java application server. Next you’ll set up the lightweight Trinidad web server to create a more flexible, modular deployment that fits more complex situations but still feels friendly and familiar to Ruby developers. You’ll switch to powering your app with TorqueBox, an all-in-one JRuby environment that includes built-in support for messaging, scheduling, and daemons—perfect for handling the “big jobs.” Then, you’ll set up a continuous integration environment with Jenkins so you can deploy like the pros.
Deploying with JRuby is the missing link between enjoying JRuby and using it in the real world to build high-performance, scalable applications.
Available for e-readers in epub, mobi, and PDF formats direct from the publisher and in paperback from fine bookstores worldwide.
What People are Saying
“...the definitive text on getting JRuby applications up and running.“
—Charles Oliver Nutter, JRuby Core team member and coauthor, Using JRuby
“Within half an hour of picking up this book I found a solution to a deployment problem I’ve had for months. Loaded with solid insight and relevant examples, this book is a must-have if you’re looking for an approach to deployment that doesn’t involve holding your breath.“
—Bryan Powell, Founder of Metabahn, creator of Pakyow
“This book is an excellent guide to navigating the various JRuby deployment options.“
—Bob McWhirter, TorqueBox team lead at Red Hat
Want to see just how easy it is to deploy? Check out the video at http://youtu.be/_XyS08QIrdE on using Torquebox for high-availability deployment on the JVM.
Deploying with JRuby
Deliver Scalable Web Apps using the JVM
ISBN: 9781934356975, 224 pages, $33.00US, $35.00CA, 7.5×9.
Pragmatic Bookshelf Titles are distributed to bookstores internationally by O’Reilly Media.
Sample chapters, table of contents, and more information is available on the book’s home page.
About Pragmatic Bookshelf
The Pragmatic Bookshelf features books written by professional developers for professional developers. The titles continue the well-known Pragmatic Programmer style, and continue to garner awards and rave reviews. As development gets more and more difficult, the Pragmatic Programmers will be there with more titles and products to help programmers stay on top of their game.
Press and Editorial Queries Only:
Contact Andy Hunt or Dave Thomas
800-699-7764 (+1 919-847-3884)