O’Reilly news

Deploying with JRuby--New from Pragmatic Bookshelf: Deliver Scalable Web Apps using the JVM

July 9, 2012

Deploying with JRuby

Request Review copy

Raleigh, NC—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 USD).

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

For a review copy or more information please email pragprogpr@oreilly.com. Please include your delivery address and contact information.

About the Author

Joe Kutner has been building JRuby applications since 2006 for clients including IBM and NASA. Today, he is a professional software consultant building Ruby and Rails applications for customers of all sizes. Joe also contributes to several JRuby projects including TorqueBox and Trinidad.

View Joe Kutner's full profile page.

Additional Resources
For more information about the book, including: code, errata, discussions, excerpts from the book and more, see the catalog page for Deploying with JRuby.

Want to see just how easy it is to deploy? Check out the video on using Torquebox for high-availability deployment on the JVM.

Deploying with JRuby Deploying with JRuby
Publisher: Pragmatic Bookshelf
By Joe Kutner
Print ISBN: 9781934356975  
Pages: 224 (est.)
Print Price: $33.00  

Request Review copy

About Pragmatic Bookshelf
Pragmatic Bookshelf is an imprint of the Pragmatic Programmers, LLC. Our titles are distributed to bookstores internationally by O'Reilly Media.

The Pragmatic Bookshelf features books written by developers for 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.

About O’Reilly

O’Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O’Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying “faint signals” from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.

Email a link to this press release