JRuby-on-Rails deployed on GlassFish - Success Story

There are several reasons you may deploy JRuby-on-Rails application on GlassFish:
  • Java EE is a long tested deployment platform and GlassFish is Java EE 5 compliant.
  • GlassFish "green" deployment model - just create a WAR and dump it in autodeploy directory. Typical Rails deployment requires to spawn multiple Mongrels, front-ended by Apache and then manage them through Capistrano.
  • Java EE and Ruby-on-Rails applications can be easily integrated in one container. This allows to host JRuby-on-Rails applications in organization who have already made investment in Java EE.
  • GlassFish comes with out-of-the-box clustering and high-availability support. Rails applications can certainly benefit from them.
  • GlassFish offers database connection pooling allowing you to reuse your database connections.
  • Last, but not the least, JRuby-on-Rails can leverage the extensive set of Java libraries.
I'm working on an article that will explain each of these in detail. In the meanwhile here is a live success story.

mediacast.sun.com (provides a public place for Sun employees to store large media files) released their version 2.0 - completely rewritten using JRuby-on-Rails and deployed on GlassFish. Igor has good details is his blog. Here are some excerpts:

Development environment: NetBeans 6, Mercurial plugin, WEBrick, GlassFish v2 UR1, MySQL
Deployment environment: 2 Load-balanced T2000, Solaris 10, Sun Java System Application Server 9.1 U1, JDK 6, MySQL

He has explained the pain points and areas of improvements very clearly. We are aware of the performance problems and already working on them!

Let us know if you have had success with deploying JRuby-on-Rails on GlassFish. Read all GlassFish success stories.

UPDATE (Feb 8): Mediacast deployment diagram is now available here.

Technorati: glassfish netbeans jruby rubyonrails mediacast stories

Comments:

[Trackback] acts_as_conference Day 2 started with breakfast ... yaaay! I had to hunt for breakfast yesterday. Robert started the day by asking some questions and here are the responses: 100% will come back if organized next year Fri/Sat is good $100...

Posted by Arun Gupta's Blog on February 09, 2008 at 06:08 PM PST #

[Trackback] From proof-of-concept to production in 8 weeks, WorldxChange Communication NZ's online billing system is another succes story of JRuby and GlassFish v2. The portal is designed solely using NetBeans 6.1 IDE. Here are some of the quotes from the...

Posted by Arun Gupta's Blog on April 21, 2008 at 07:51 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

profile image
Arun Gupta is a technology enthusiast, a passionate runner, author, and a community guy who works for Oracle Corp.


Java EE 7 Samples

Stay Connected

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today