English | 日本語

Java in Ruby: Scripting Java in JRuby

Abstract

One major benefit of JRuby is the ability to import Java classes and then use them as if they were POROs (Plain Old Ruby Objects). This feature makes Java fun again. You can pull in legacy code and sculpt an API which fits nicely into your Ruby code. You can access novel or robust Java libraries to bridge a gap in existing Ruby libraries. This talk will: * Show basics of interacting with Java classes from within Ruby * Implementing Java interfaces with Ruby blocks and classes * Point out Gotchas * Give style hints to make Java APIs fit better into the Ruby way By the end of this talk you should be able to effectively consume Java libraries in Ruby in a way that is satisfying and useful.

Presentation Language

English / Japanese

Speaker(s)

avatar

Thomas E Enebo

jruby.org / Engine Yard

Thomas Enebo has been a practitioner of Java for over a decade and he is the co-lead of the JRuby project. Thomas has also been happily using Ruby since 2001. In addition to working on JRuby, Tom is interested in improving the state of alternative languages on the Java Virtual Machine. Tom is employed working on JRuby full time at Engine Yard.

avatar

Koichiro Ohba

JRuby User Group Japan

He is developing a cloud platform service with JRuby for his company. A member of JRuby user meetup. He was the organizer of JRubyKaigi 2010 and is a staff of JRubyKaigi 2011.

Video

http://vimeo.com/26537473


Back to schedule

Back to top