Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A servlet for running JSGI / Jack compatible server-side JavaScript applications and frameworks on Google AppEngine for Java or other servlet containers
Java JavaScript
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Jack Servlet


  1. Narwhal:
  2. Jack:

AppEngine Instructions

  1. Set the APPENGINE_JAVA_SDK environment variable to the location of the AppEngine SDK (, or change the "sdk.dir" property in the build.xml file.
  2. Ensure "war/WEB-INF/narwhal" is a Narwhal distribution (currently symlinked to "narwhal" in the parent directory) and "war/WEB-INF/narwhal/packages/jack" is a Jack distribution.
  3. Place your Jack application in "war/WEB-INF" with the main module called "jackconfig.js", which exports the main Jack application as "app".
  4. "ant runserver" to run locally.
  5. Edit the AppEngine application ID in "war/WEB-INF/appengine-web.xml".
  6. "ant update" to deploy.

Other Servlet Container Instructions

Coming soon.


  • You can change the default modules path, module name, application name, environment name using the "modulesPath", "module", "app", and "environment" init-params in web.xml, i.e.:

    jack org.jackjs.JackServlet modulesPath WEB-INF module jackconfig.js app app environment production

  • In addition to the "war/WEB-INF/narwhal" symlink, there are relative symlinks to Rhino in "war/WEB-INF/lib/js.jar" and an example application at "war/WEB-INF/jackconfig.js"

Something went wrong with that request. Please try again.