Deploying with JRuby
Deliver Scalable Web Apps Using the JVM
Seiten
2012
The Pragmatic Programmers (Verlag)
978-1-934356-97-5 (ISBN)
The Pragmatic Programmers (Verlag)
978-1-934356-97-5 (ISBN)
- Titel erscheint in neuer Auflage
- Artikel merken
Zu diesem Artikel existiert eine Nachauflage
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.
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 letting you use the language you love. 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. What You Need: To run the examples in this book, you'll need a computer that can run the Java Virtual Machine.
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 letting you use the language you love. 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. What You Need: To run the examples in this book, you'll need a computer that can run the Java Virtual Machine.
Joe Kutner has been building JRuby applications since 2006 for clients including IBM and NASA. Today, he is a professional software consultant at Arcturo, where he builds Ruby and Rails applications for customers of all sizes. Joe also contributes to several JRuby projects including TorqueBox and Trinidad.
Erscheint lt. Verlag | 14.8.2012 |
---|---|
Zusatzinfo | Illustrations |
Verlagsort | Raleigh |
Sprache | englisch |
Maße | 191 x 229 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Web / Internet |
ISBN-10 | 1-934356-97-2 / 1934356972 |
ISBN-13 | 978-1-934356-97-5 / 9781934356975 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
Handbuch für die Praxis
Buch | Hardcover (2023)
O'Reilly (Verlag)
CHF 55,85