or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £8.95 Amazon.co.uk Gift Card
Using JRuby: Bringing Ruby to Java (Facets of Ruby)
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Using JRuby: Bringing Ruby to Java (Facets of Ruby) [Paperback]

Charles O Nutter , Thomas Enebo , Nick Sieger , Ola Bini , Ian Dees

RRP: £26.99
Price: £20.87 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £6.12 (23%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 3 left in stock--order soon (more on the way).
Want guaranteed delivery by Thursday, June 7? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Paperback £20.87  
Trade In this Item for up to £8.95
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Using JRuby: Bringing Ruby to Java (Facets of Ruby) for an Amazon.co.uk gift card of up to £8.95, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

Using JRuby: Bringing Ruby to Java (Facets of Ruby) + The RSpec Book: Behaviour Driven Development with RSpec, Cucumber, and Friends (Facets of Ruby) + Programming Ruby 1.9: The Pragmatic Programmers' Guide
Price For All Three: £65.38

Show availability and delivery details

Buy the selected items together


Product details


More About the Authors

Discover books, learn about writers, and more.

Product Description

Product Description

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.

About 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.


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  11 reviews
8 of 10 people found the following review helpful
Excellent, but troubling book 16 Feb 2011
By Rusty Shackleford - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
I wish I had this book 2 years ago, it would have saved me so much aggravation. This book gives you all the knowledge you need to use JRuby effectively. Note that it is does not mean that everything is covered, it means everything important is covered and gives you the tools to write any sort of JRuby application.

Yes, Rails is covered in fair detail, but that isn't the main focus of the book. When the team jumped ship to EngineYard I feared that JRuby was going to became JRails. So far, that doesn't seem to be the case.

I am not sure what else to add, this book is detailed, yet focused and clear.

What troubles me, and this is a Ruby wide problem, is that to get the same information from this book online, you would have to try hundreds of sites and sift through the outdated docs and simple tutorials. There is no official message board, only a mailing list which are terrible things to sift through and need to die already. The wiki is always out of date. Why paid docs is acceptable in the Ruby world is beyond me. This book is exactly what the official online tutorials should be and the books should go much deeper. It did pain me to pay the dev team to produce basic docs(they are NOT volunteers working for free-not that this would be a valid excuse anyway) but I love getting the great Java platform while being able to avoid the crappy Java language and use a language that I love so I have to deal with this terrible practice.

JRuby also often follows the insane Ruby idea of "source code are the docs", but that is another rant.
2 of 2 people found the following review helpful
Hello JRuby! 8 Aug 2011
By Ilya Grigorik - Published on Amazon.com
Format:Paperback
Determining the right audience for a technical book is always a tricky proposition, and interestingly, it seems that the JRuby team chose to tailor this book towards a "Java programmer who is interested in Ruby and probably Rails". This choice, on its own, tells you a lot about where JRuby is seeing adoption: while there is some fraction of (MRI / C) Rubyists migrating to the JVM, it looks like the larger market for JRuby specifically are the Java programmers looking to "sneak" JRuby into their existing codebase.

The book is roughly split into three parts:

(1) JRuby internals: calling Java from Ruby; calling Ruby from Java; understanding the JRuby compiler. In other words, think of Ruby as your scripting language on top of your existing JVM code, and this is your manual on how to connect all the pieces. The authors provide good examples to get you started, but for more advanced stuff you'll likely find yourself on the mailing list still.

(2) Introduction to Rails: if you've worked with Rails before, then you won't find anything new here, the only exceptions are setting up JDBC and related Java infrastructure. And if you've never developed with Rails, then you'll walk through a fully-fledged example of building an app.

(3) Rake, Ant, Maven, and Testing in Ruby: the build and deployment tools will be an interesting read for Rubyists and Java veterans alike. JRuby offers some great integration and scripting capabilities by combining Rake, Maven and Ant - something I wasn't aware of prior to reading this book, so that was a great surprise. As for testing, this is probably the way most JRuby deployments find their way into enterprise codebases: Ruby offers a number of amazing tools and many different frameworks to lower the barrier (dare I say, make it enjoyable?) for Test Driven Development (TDD). The authors cover the different API's, provide examples of each, etc. If you are a seasoned Rubyist, you probably wont find anything here, but for someone new to Ruby, this is definitely a worthwhile chapter.

Lastly, there is a section on using Swing via JRuby, but honestly, I'm not even sure why it is even worth the paper. Can we all just agree that the idea of building "multi-platform" GUI's in Swing is a failed experiment? But I digress...

Great book and definitely worth the time if you are seriously considering JRuby for your own project.
4 of 5 people found the following review helpful
No more hassle to search around for finding ways in JRuby 2 Feb 2011
By yokolet - Published on Amazon.com
Format:Paperback
This book is what I've been looking for. When I started reading, my frustration to learn a cutting edge language began to go away. JRuby is not just another implementation of Ruby language. Using Java API from Ruby, extending Java classes by Ruby or making Rails apps work on Java based web servers, all of which are shining traits of JRuby. However, it's not easy to find effective ways of doing those. Information is scattered around the Internet. Although JRuby's core committers, the authors of this book, are so kind-hearted and help users earnestly on IRC, mailing list or other, we won't ask them in every particular. Now, "Using JRuby" is finally out --- whole JRuby world on hand. This book blew my frustration up and shaped a solid image of JRuby way.

The chapter 2, 3 and 4 are basics and good to establish the idea to use JRuby. One example in chapter 2 uses the third party Java, of course, from Ruby. Another example implements Java interface by Ruby. Also, the chapter 2 didn't miss to explain about JRuby specific class loading issues. This topic is very helpful since class loading is the first obstacle of Java integration. More than that, Java's overloaded methods and annotation are there. I had to recognize how my understanding was incomplete.

Following third chapter is about using Ruby from Java, embedding API, with practical examples. Honestly, this chapter is a nice surprise to me as an author of JRuby embedding API. This chapter illustrates well how to write code, what to care about using a gem and going forward step by step. I'm thankful for picking up this API in the book. I also feel thankful for including the topic about JRuby compiler in chapter 4. I knew JRuby's JIT (not Java's JIT) compiler and jrubyc, but I recognized that there was still a lot to it.

Chapters, 5 through 9, are must-read ones to JRuby on Rails developers. JRuby users don't need to care much about their Ruby is JRuby (not CRuby) while writing web apps. However, these chapters helped me to make things easier. Did you know the "--template [...]" option of rails command? I learned I could avoid editing bundler's Gemfile to fit it to JRuby. Because chapter 7 clarified the internals of warbler packaging tool, I feel much comfortable with it now. The number of various kind of testing tools covered by this book is amazing, really. Starting with wide-spread Test::Unit, the book mentions about Rspec, test/spec, shoulda, ZenTest, Cucumber, Selenium, Watir, Webrat, JTestR and more! I enjoyed going over these colorful tools.

The last chapter was fun, GUI programming. This is the area JRuby is superior to CRuby. JRuby's Java integration made it simple. Perhaps, the pages of this book are not enough to write a real GUI application but are enough to get started. This chapter will help to go ahead to a next step.

Although I have more to talk about this book, I'd like to say, "just read it." JRuby's a bit complicated ecosystem will no longer baffle you. You will think of what you can do using JRuby. At last, I want to thank authors for publishing this book. "Using JRuby" is helpful for me, definitely.

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges