bgruber / lispnyc-jetty

Jetty webapplication server

Home Page:http://lispnyc.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lispnyc logo

LispNYC's Webapplication Server

The highly acclaimed lightweight Jetty webserver is configured for the use with our LispNYC Homebase Webapp, also included is the Pebble blog webapp.

Requirements

Running

After the LispNYC Homebase Webapp has been built and deployed here, just run:

./start

Then hit http://localhost:8000

Jetty Details

The Jetty Webserver executes two webapps:

Because the initial homepage of LispNYC is dynamic, the Homebase Webapp is the main application and thus runs as the main context. This means that by default it intercepts all requests including ones for things like CSS, HTML and images ...which is not what we want.

There are several techniques to handle this, the one we chose is to set up a seperate context for static files and serve it up there. It's a typical scaling technique: using Apache (or something) for static files.

uri path         handled by
--------         ----------
/static/         Jetty
/blog/           Pebble Webapp
/*               Homebase Webapp

Pebble Details

The password for the default accounts is password

About

Jetty webapplication server

http://lispnyc.org