How to Easily Deploy a Self-Contained Rails App On A Tomcat Server
Victor Igumnov has put together a simple walkthrough of how to package a Rails application into a single WAR file to run on a Tomcat server using JRuby, a pure Ruby PostgreSQL library (no ActiveRecord-JDBC needed!), and GoldSpike (JRuby addon that provides rake tasks to make WAR files). This is useful knowledge for anyone who might be forced into deploying Rails apps in an enterprise type system where Tomcat may be the only viable deployment option.
May 14, 2007 at 5:42 pm
Sounds like a hack to me, a great hack, but still a hack. I'm still not onto the buzz of JRuby and getting Rails running with it. Maybe I'm missing something?
May 14, 2007 at 10:00 pm
Enterprise rollouts.
You won't believe the amount of proposals I see where the "hosting environment" is just J2EE or something else. Sysadmins at those kinds of shops (if they even have them, often they just "outsource" in-house hosting!) don't like playing around with things like Mongrel, etc.. they have a system and you gotta stick to it. If they support TomCat, then being able to roll out apps with it can mean your Rails app could be deployed in an enterprise environment.. and there's big money in that.
May 15, 2007 at 2:00 am
This is really cool... More choices are very good, at least in this matter. :-)
Pingback: Java, Please! Stirred, Not Shaken
May 15, 2007 at 6:26 pm
Do you think such a weird hacky solution will really be stable/scalable enough for an enterprise deployment? I'm suspicious, but just based on the general principle, I don't know any of the details at all (or enough to understand them).