Running a JSF-2 page using embedded Jetty? <p>Is it possible to start up a JSF-2 page (assuming I have the *.html and backing bean) using embedded Jetty?</p> <p>By Embedded Jetty I mean something like the following (but obviously coupled with a JSF page)</p> <pre><code>import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.eclipse.jetty.server.Request; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.handler.AbstractHandler; public class HelloHandler extends AbstractHandler { public void handle(String target,Request baseRequest,HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException { response.setContentType("text/html;charset=utf-8"); response.setStatus(HttpServletResponse.SC_OK); baseRequest.setHandled(true); response.getWriter().println("&lt;h1&gt;Hello World&lt;/h1&gt;"); } public static void main(String[] args) throws Exception { Server server = new Server(8080); server.setHandler(new HelloHandler()); server.start(); server.join(); } } </code></pre>