Piku’s Blog

January 29, 2008

JRuby on Rails deployed at Sun

Filed under: News, Ruby on Rails — Tags: , , — Mihai @ 9:30 pm

Sun’s Mediacast 2.0 was rewritten using JRuby on Rails. It’s another successful deployment of JRuby after Oracle Mix (see implementation details).

Our development environment is based on a self-contained JRuby (1.0.3) on Rails (1.2.6) application stored in a Mercurial repository. The IDE we use is NetBeans 6 with Ruby support and Mercurial plugin. The DB of our choice is MySQL and servers we use during development are WEBrick and Glassfish v2ur1.

As for production environment they use “a pair of load-balanced T2000 with Solaris 10, JDK6 and SJSAS 9.1u1. These two servers share a nfs NAS drive used for file storage and fragment cache storage. The DB backend is a MySQL database server, which we access through a connection pool set up in the app server.”

They comment that most C-based ruby gems are not compatible with JRuby but the support is improving with the work of jruby-extras project. They used Java for SOAP-over-HTTPS based authentication webservice and for long-running processes by using a servlet filter.

JRuby is starting to enter the enterprise space, dominated by Java. Sun is investing much in Ruby by supporting the JRuby project, JRuby in Glassfish and NetBeans Ruby support. I think the number of JRuby-powered applications will increase this year and Ruby be considered a serious language.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: