» » Using JRuby: Bringing Ruby to Java (Facets of Ruby)

Using JRuby: Bringing Ruby to Java (Facets of Ruby) download epub

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


Epub Book: 1228 kb. | Fb2 Book: 1305 kb.

Charles O Nutter is the principal developer of JRuby. He has worked at Ventera, Sun, and now, EngineYard

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.

Now you can bring the best of Ruby into the world of Java, with Using JRuby. 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

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.

Charles Nutter and Thomas Enebo co-lead the JRuby project. Nick Sieger is a core contributor to JRuby and many other libraries. Ola Bini writes software at ThoughtWorks. Ian Dees is the author of Scripted GUI Testing With Ruby. Yes. No. Customer Service.

Charles O Nutter is the principal developer of JRuby.

Using JRuby: Bringing Ruby to Java (Facets of Ruby) (2011) by Charles O Nutter, Thomas Enebo, Nick Sieger, Ola Bini, Ian Dees. NetBeans Ruby and Rails IDE with JRuby (Firstpress) (2008) by Chris Kutler, Brian Leonard. JRuby Cookbook (2008) by Justin Edelson, Henry Liu. Practical JRuby on Rails Web . Projects: Bringing Ruby on Rails to Java (Expert's Voice in Java) (2007) by Ola Bini. Indexed Repositories (1192).

Goodreads helps you keep track of books you want to read. Start by marking Using JRuby: Bringing Ruby to Java as Want to Read: Want to Read savin. ant to Read.

Ruby has the heart, and Java has the reach. Goodreads helps you keep track of books you want to read.

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.

Using JRuby: Bringing Ruby to Java (Facets of Ruby). 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. Author(s): Charles O Nutter, Thomas Enebo, Nick Sieger, Ola Bini, Ian Dees.

Bringing Ruby to Java. Charles O Nutter Nick Sieger. Thomas Enebo Ola Bini Ian Dees. Among these people were Thomas Enebo and Charles Nutter, two of the earliest committers of the JRuby project

Bringing Ruby to Java. The Pragmatic Bookshelf. Raleigh, North Carolina Dallas, Texas. Among these people were Thomas Enebo and Charles Nutter, two of the earliest committers of the JRuby project. In those interviews, they elegantly made the case that a mature Ruby implementation on the JVM would lead to a powerful set of advantages.

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.


Comments: (7)

Gholbithris
I have been a rubyist for threee years and I wanted to tap into Java's huge code base while sticking to Ruby's clean and concise coding style. "Using Jruby" got me moving in that direction at light speed. Since I haven't used Java in a while, I often referred back to Java The Complete Reference, 8th Edition by Herbert Schildt.
To sum up, this a great book to discover how to easily broaden Ruby's already vast horizons.
Ironfire
The book is well written, contains the much needed lessons for properly coding JRuby. Not many resources out there, but I highly recommend this one.
Agalen
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.
Andromathris
I had to come up to speed on ruby and rails over the past several months for work reasons. Although JRuby is not used at my work place at this time, it seemed worth checking it out and I purchased this book so as to come up to speed on it. I found this book to be a good introduction to JRuby. Part I, JRuby Core, is where most of the value in this book is. This part covers invoking Ruby from Java and vice versa, compiler options and somethings to watch out for. The code samples as well as the explanation is good in this part. Part II covers how JRuby can be used in a real project. A fair amount of stuff is redundant for those who have studied/used ruby, rails, cucumber, rspec etc. such as myself. I tried out the code samples in this book with the latest versions of gems even though this book uses older versions as it is few years old. Some of the samples break but are easy enough to fix - there were one or two examples I couldn't get to work. Besides the redundancy, another issue to be aware of is that this book covers things that are no longer supported (i.e. deprecated). For example, ribs in Chapter 6 is supposed to persist ruby's objects using Hibernate. If you look at the github for this project, you will notice that the last commit was 6 years ago meaning it's no longer under active development nor does it have the features one of the authors was going to support in a future release (as noted in the book). Another example is Chapter 10 Building GUIs with Swing. Apart from the fact that Oracle intends to replace Swing with JavaFX going forward, one of the examples it uses is with monkeybars gem which is also yanked. Therefore, be sure to checkout the status of the gems and invest time in them only if they are current. This book recommends RubyMine as the first choice for JRuby IDEs followed by Netbeans. I understand RubyMine is very popular for Ruby itself but however be aware that at the time of this writing it doesn't have seamless integration with Java for which you need a license for IDEA which comes with a plugin - however the functionality on ruby side is not exactly the same in case of IDEA relative to RubyMine, so be sure to research this issue before buying a license for either. Finally this book doesn't cover the deployment aspect at all but there is another book which does and I intend to check that one out soon.

The bottom line is that if you haven't used JRuby before like me, you will definitely get some value out of this work. On the other hand if you have already built applications on JRuby, you are unlikely to benefit from this book, so I suggest skipping it.
Using JRuby: Bringing Ruby to Java (Facets of Ruby) download epub
Programming Languages
Author: Charles O Nutter,Thomas Enebo,Ola Bini,Nick Sieger
ISBN: 1934356654
Category: Computers & Technology
Subcategory: Programming Languages
Language: English
Publisher: Pragmatic Bookshelf; 1 edition (February 7, 2011)
Pages: 300 pages