Home » Archives

Content tagged with: jruby

[18 Nov 2010 | No Comment | ]

One major benefit of JRuby is the ability to import Java classes and 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 even access novel and unrivaled Java libraries to do something not currently possible in the Ruby world. This video shows basics of interacting with Java classes from within Ruby, point out Gotchas and gives style hints to make Java APIs fit …

[2 Nov 2010 | No Comment | ]

Today writing portable Web applications that can use the power of the Comet technique is almost impossible: Tomcat, Jetty, and Grizzly/GlassFish application server all have their own set of private APIs. Atmosphere leverages and builds on Project Jersey and the Java API for RESTful Web Services (JAX-RS). Jersey is the open resource reference implementation of JAX-RS that makes it easier to build RESTful Web services. Atmosphere and Jersey complement each other, with the goal of making it easier to build Comet-based Web applications that include a mix of Comet and …

[31 May 2010 | No Comment | ]

Mark Ranallo will give an introduction to using JRuby in conjunction with the Android Scripting Environment. Bonus content: download the slides from this talk.
http://sdruby.org/podcast/78

[19 May 2010 | No Comment | ]

JRuby has become popular for deploying Rails and other web frameworks, but it is also helping to expand the Ruby world beyond Rails. JRuby is everywhere, bringing Ruby to new users and new domains every day. In this session, we’ll show many other examples of JRuby, from mobile devices to games to desktop apps to cloud computing to new Java integration features.

[22 Mar 2010 | No Comment | ]

Tom Enebo explains reasons for choosing JRuby: Hotspot optimizations, JVM Garbage Collectors, tools like profilers. Also: how JRuby helps to write cleaner, more expressive code with Java libraries.
http://www.infoq.com/presentations/enebo-jruby

[10 Mar 2010 | No Comment | ]

As web developers, we live in an arranged marriage with JavaScript. What is a Rubyist to do? Use JavaScript as a compile target? Abstract it away on the server? With JRuby, we can embrace the shared language of the web in a compelling way, building reusable libraries that work across the client-server boundary. By bridging Ruby to JavaScript using Rhino, we gain shared databases, including their indexing strategies. We gain remote model discovery and shared client/server validation. We gain a shared query language. And because it is JavaScript, we gain …

[11 Nov 2009 | No Comment | ]

Enterprise software pundits are now gazing metaphorically skyward. There’s all this talk of clouds, but what kind of clouds are coming, and will they be friendly? We begin by describing some applications we’ve developed for App Engine, including implementation of other languages, such as JRuby, on top of the App Engine for Java implementation. These implementations demonstrate the breadth of capability provided by App Engine. We then examine some of the strengths and current weaknesses that we encountered. We also describe more about the implications for testing that arise when …