Embedding Jetty This tutorial takes you step-by-step from the simplest Jetty server instantiation to running multiple web applications with standards-based deployment descriptors. The source for most of these examples is part of the standard Jetty project. Overview To embed a Jetty server the following steps are typical and are illustrated by the examples in this tutorial: Create a Server instance. Start the Server. Wait on the server or do something else with your thread. Creating the Server The following code from SimplestServer.java instantiates and runs the simplest possible Jetty server:
Read full article from Embedding Jetty
No comments:
Post a Comment