Mongoosej.Blog.Software.Programming.Java.Framework.Web Container.Jetty
The Definitive Reference(Jetty 9)
Jetty : The Definitive Reference
Getting Started With Jetty
Introducing Jetty
Using Jetty
An Introduction to Jetty Configuration
Jetty Configuration Guide
Deploying to Jetty
Configuring Contexts
Configuring Jetty Connectors
Configuring Security
Configuring JSP Support
Jetty Administration Guide
Starting Jetty
Session Management
Jetty Logging
Configuring JNDI
Annotations
Java Management Extensions (JMX)
Application Layer Protocol Negotiation (ALPN)
HTTP/2
FastCGI Support
Provided Servlets, Filters, and Handlers
Jetty Runner
Optimizing Jetty
Jetty Development Guide
Embedding
Embedding Jetty
Jetty has a slogan, “Don’t deploy your application in Jetty, deploy Jetty in your application!” What this means is that as an alternative to bundling your application as a standard WAR to be deployed in Jetty, Jetty is designed to be a software component that can be instantiated and used in a Java program just like any POJO. Put another way, running Jetty in embedded mode means putting an HTTP module into your application, rather than putting your application into an HTTP server.
Embeded Examples
It is really simple to create useful servlets for testing behaviors. Sometimes you need a http server to run a unit test against that will return test content and wiring up a servlet like this makes it trivial.