Using JRuby: Bringing Ruby to Java

Using JRuby: Bringing Ruby to Java

by Charles O Nutter, Thomas Enebo, Nick Sieger, Ola Bini
     
 

Now you can bring the best of Ruby into the world of Java, with Using JRuby. Come to the source for the JRuby core team's insights and insider tips. You'll learn how to call Java objects seamlessly from Ruby, and deal with Java idioms such as interfaces and overloaded functions. Run Ruby code from Java, and make a Java program scriptable in Ruby. See how to

Overview

Now you can bring the best of Ruby into the world of Java, with Using JRuby. Come to the source for the JRuby core team's insights and insider tips. You'll learn how to call Java objects seamlessly from Ruby, and deal with Java idioms such as interfaces and overloaded functions. Run Ruby code from Java, and make a Java program scriptable in Ruby. See how to compile Ruby into .class files that are callable from Java, Scala, Clojure, or any other JVM language.

In Using JRuby you'll venture into the wide world of open-source Ruby and Java libraries. Write Ruby on Rails web applications that run on Java servers like Tomcat. Use Java's JDBC or Hibernate to easily connect Ruby to industry-standard databases. Test your Java program using Ruby's elegant Cucumber and RSpec frameworks. Create dazzling desktop user interfaces with frameworks like Limelight and Monkeybars. Package a Rails or plain Ruby project for easy deployment to any Java environment.

JRuby lets you merge the best of several possible worlds, so you can create unique software using the best tools available. This book is your definitive guide.

Product Details

ISBN-13:
9781934356654
Publisher:
Pragmatic Programmers, LLC, The
Publication date:
01/20/2011
Pages:
300
Product dimensions:
7.50(w) x 8.90(h) x 1.20(d)

Meet the Author

Charles O Nutter is the principal developer of JRuby. He has worked at Ventera, Sun, and now, EngineYard. During his time on the project, he has steered JRuby to its place as the fastest Ruby implementation.

Thomas Enebo has striven since 2003 to make JRuby a piece of software that will capture the hearts and minds of Ruby and Java developers everywhere. He works at EngineYard alongside Charles and Nick.

Nick Sieger is a prolific blogger and programmer who contributes not only to the JRuby core, but also to numerous libraries that Ruby programmers depend on every day in their work with JRuby. He works at EngineYard.

Ola Bini writes software at Thoughtworks Studios, and is the author of Practical JRuby on Rails. He is constantly pushing the boundaries between programming languages.

Ian Dees is the author of Scripted GUI Testing With Ruby. By day, he slings C++, Ruby, LabVIEW, and other languages for a test equipment manufacturer in Portland, Oregon.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >