Introducing Warbler

Warbler is a gem that creates a web application archive (WAR) file from a Rails- or Rack-based application.

Joe asks:
Joe asks:
What’s in a WAR File?

A WAR file is a special case of Java archive (JAR) file; both are really just zip files. But a WAR file is structured according to a standard that’s recognized by all Java web servers. You can take a closer look at this by extracting the WAR file you created in this chapter with any unzipping tool. Inside it, you’ll find these essential components (among many other things):

 |-- index.html
 |-- META-INF/
 `-- WEB-INF/
  |-- lib/
  `-- web.xml

The top-level ...

Get Deploying with JRuby 9k now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.