Grails 1.0 and JRuby on Rails on WebSphere

Grails or Rails? A couple of interesting things happened today that relate to my Grails vs. Rails quest for knowledge.

The first is that Grails 1.0 was released. This was apparently a huge event as it swamped Codehaus' servers for a couple hours. This morning, it was pretty cool to shake Graeme's hand and congratulate him on the release. I also got to meet Jeff Brown for the first time. Who needs to go to a conference when you get to talk to these guys at work? ;-)

Secondly, I found an article by Ryan Shillington that shows how to deploy a Rails application to WebSphere. To me Rails + WebSphere seems like the last thing a Rails advocate would want - but who knows. In my experience, most developers that use WebSphere don't do it by choice.

For companies that have invested a lot of time and money into the JVM as a platform, it seems like Grails is the clear winner over Rails. However, the line gets blurry when you start talking about JRuby. I think JRuby will get there, but I don't believe it's there yet. If you look at the two major JRuby on Rails success stories (from Oracle and Sun), they've had to fix performance issues as part of their projects. With big companies investing in the platform, it's highly likely performance will be fixed in the near future. I believe both the Groovy and JRuby teams have said performance enhancements are their top priority for their next releases.

I think the biggest news related to performance of dynamic languages on the JVM is the new Da Vinci Machine project.

This project will prototype a number of extensions to the JVM, so that it can run non-Java languages efficiently, with a performance level comparable to that of Java itself.

Dynamic languages on the JVM seem to have a very bright future.

I got involved with Struts and Spring just before their 1.0 releases. Is it simply a coincidence that I happened to start looking into Grails right before its 1.0 release?

0
Average: 3 (2 votes)

Matt Raible has been building web applications for most of his adult life. He started tinkering with the web before Netscape 1.0 was even released. For the last 11 years, Matt has helped companies adopt open source technologies (Spring, Hibernate, Apache, Struts, Tapestry, Grails) and use them effectively. Matt has been a speaker at many conferences worldwide, including ApacheCon, JavaZone, Colorado Software Summit, No Fluff Just Stuff, and a host of others.

Matt is a DZone MVB and is not an employee of DZone and has posted 45 posts at DZone. You can read more from them at their website.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Ryan Shillington replied on Thu, 2008/02/07 - 9:24am

I agree that most developers don't adopt WebSphere by choice, but that doesn't mean that it's not the fastest growing application server.

The bottom line is that when at a Fortune 500 company, if you pitch a new Rails app you're likely to hear 'no' because they've invested too much in their current infrastructure to go back.  These companies have poured millions each into people, equipment, support contracts, etc.  Choosing a different web server, no matter what the price, just isn't an option.

This gives developers who are trying to push a new Rails app an excellent angle.  "Mr. Bossman, we can now develop the software 3x faster than our counterpart Java developers.  Don't fret though - you can still leverage all of the money you've invested into WebSphere / Linux / AIX/ OS/390 / what have you."

Perhaps the point your missing is that the people who decide the hardware & infrastructure stuff are different people than the developers.

Ryan

Arun Gupta replied on Thu, 2008/02/07 - 11:41pm

JRuby-on-Rails can be easily deployed on GlassFish (http://glassfish.java.net), an open source Java EE 5 compliant Application server. There are several reasons to do that and they are highlighted at:

http://wiki.glassfish.java.net/Wiki.jsp?page=JRuby

GlassFish is gaining adoption very strongly and has all the enterprise features at no price. 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.