Package Rails application as WAR file.
Goldspike
Java web applications are typically packaged as WAR files in preparation for distribution and deployment to Java EE servers. It is useful to be able to package Ruby on Rails applications in a similar form, to enable seamless deployment to Java servers. This is what Goldspike (a rails plugin) does.
GoldSpike has been tested on:
Warbler
better than Goldspike
http://caldersphere.rubyforge.org/warbler/
http://wiki.jruby.org/wiki/Warbler
Warbler is a gem to make a .war file out of a Rails project. The intent is to provide a minimal, flexible, ruby-like way to bundle up all of your application files for deployment to a Java application server.
Warbler provides a sane set of out-of-the box defaults that should allow most Rails applications without external gem dependencies (aside from Rails itself) to assemble and Just Work.
Warbler bundles JRuby and the Goldspike servlet for dispatching requests to your application inside the java application server, and assembles all jar files in WARBLER_HOME/lib/*.jar into your application. No external dependencies are downloaded.
How to Use
get it: $ jruby -S gem install warbler And then, in the top directory of your Rails application: $ warbler war config it: $ warbler config
$ vi config/warble.rb
No comments:
Post a Comment