views:

53

answers:

1

I've spent the last 9 months using Ruby on Rails exclusively.

I've been asked to join project and they are currently using Struts with Tomcat. I've done Java in the past and vowed never to go back for several reasons. They are currently having trouble finding people who know Java or are willing to join a project that uses it. (This is without pay but has potential)

I just don't think in the long run that I could tolerate Struts and if they need what Java as a platform offers like security and scaling, then they could migrate over to jRuby later on.

I'd like to hear what you guys think.

+1  A: 

I disagree that Java (JRuby) offers security or scaling intrinsically. The performance is very close to C based interpreters. What you do get is the ability to use Java classes within your application. If the project has a need to use a specific Java library, or if the deployment stack must be Java, I'd definitely recommend JRuby (on Rails). Otherwise, expect similar results in a jRuby on Rails application as any other Ruby on Rails application.

Kevin Sylvestre
You might want to ask Twitter about the scaling issues. ;)
Dex
True. Although the amount of scaling they are required to do is fairly complex compared to most applications. Furthermore, they have moved large parts of the application to Scala (running on a JVM) and still get regular issues (fail whale). Lots of resources exist to teach how Rails can scale (see http://railslab.newrelic.com/scaling-rails).
Kevin Sylvestre