Serving a GWT Application with an Embedded Jetty Server

Posted Saturday, March 27, 2010

For a new project I am interested in starting, I want to serve a GWT application with an embedded Jetty server. I wasn’t sure how to go about doing so, but it turns out it’s easier than I could ever have expected! Check it out below.

You do, of course, need the Jetty jars (I used the ones from the ‘lib’ folder in the Jetty distribution) in your classpath.