Ruby and JRuby

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.

JRuby is an implementation of the Ruby programming language atop the Java Virtual Machine (JVM).

I’ve used JRuby as a convenient way to deploy work in a Java-centric environment, and to leverage the huge number of existing Java libraries whilst keeping my code in Ruby.

Using Chowder for Simple Rack-based authentication


I have been searching for some time for a simple rack based authentication system. A key requirement for me is that I’d like it to work with the data storage mechanism of my choice - MongoMapper. I spotted a project on github called Chowder, which worked really nicely…

Read More

JRuby Cookbook published


I’m very happy that my contribution to the O’Reilly JRuby Cookbook has been accepted. It is only a little bit on making SOAP calls from Ruby (JRuby) using the Mule ESB Client library, but it is still really nice to see my name inside a book.

Read More

Calling SOAP Services from JRuby


I have been working on a project which uses the Mule ESB, and a JRubyOnRails app. Part of this means calling SOAP services from within the JRuby app. Ola Bini sets out a couple of approaches in his JRuby on Rails book,but I thought I would blog the success I’ve had using the mule-client libraries. I am passing “complex” Java objects around in these SOAP services, not just primitives - always more difficult when it comes to SOAP interoperability.

Read More