The Pineapple Jetty starter project contains a single Java class which is used to start the Jetty web server and deploys the Pineapple web application to the server.
Links to related projects:
Instructions on the usage of the project can be found here.
Technical documentation for developers about the architecture, design and implementation of the project can be found here.