JRuby Cookbook

JRuby Cookbook

by Justin Edelson, Henry Liu
     
 

View All Available Formats & Editions

If you're interested in JRuby, you probably don't need a tutorial on Ruby, Rails, or Java — you just need to know how to get things done. This Cookbook offers practical solutions for using the Java implementation of the Ruby language, with targeted recipes for deploying Rails web applications on Java servers, integrating JRuby code with Java technologies,

…  See more details below

Overview

If you're interested in JRuby, you probably don't need a tutorial on Ruby, Rails, or Java — you just need to know how to get things done. This Cookbook offers practical solutions for using the Java implementation of the Ruby language, with targeted recipes for deploying Rails web applications on Java servers, integrating JRuby code with Java technologies, developing JRuby desktop applications with Java toolkits, and more. Using numerous reusable code samples, JRuby Cookbook shows you how to:

  • Install and update JRuby on Windows, Mac OS X, and Linux, and IDEs such as NetBeans and Eclipse
  • Package and deploy Rails apps on Java Servlet containers and Java EE application servers, including JBoss, Tomcat, and GlassFish
  • Integrate Ruby and Rails applications with popular Java EE technologies such as JMS, JMX, JPA, Spring, and Hibernate
  • Develop desktop and client applications with cross-platform Java UI technologies and toolkits such as Swing, SWT, and Java 2D
  • Maximize the flexibility of your testing and build environment, using both existing Java-based tools such as Ant and Maven and newer Ruby-based tools such as Rake, Raven, and Buildr

The JRuby interpreter combines Ruby's simplicity and ease of use with Java's extensive libraries and technologies, a potent blend that opens new possibilities for Ruby, Rails, and Java. This Cookbook helps you take full advantage of JRuby's potential.

"The JRuby Cookbook is an excellent book for any polyglot who is trying to bridge the gap between Java and Ruby. It provides solutions to specific problems developers face in both their development and testing environments, along with the applications they're building."— Bob McWhirter, Research & Prototyping, Red Hat Middleware

Read More

Product Details

ISBN-13:
9780596519803
Publisher:
O'Reilly Media, Incorporated
Publication date:
11/27/2008
Pages:
224
Product dimensions:
7.00(w) x 9.10(h) x 0.40(d)

Meet the Author

Justin Edelson is the Vice President of Platform Engineering for MTV Networks. He was the co-author (with Brett McLaughlin) of Java & XML, 3rd Edition, published in December 2006.

Henry Liu is an experienced software developer and game designer. He is currently a Senior Software Developer at MTV Networks. He maintains an Open Source Ruby project for collaborative filtering named slopeone-gem and is an active member of the New York City Ruby Users Group.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >