Skip to content

Embedded Jetty Application

An embedded Jetty application used as the design target for Jetty Bootstrap.

  • Bootstrap an embedded Jetty Server
  • Serve requests through handlers and/or Jakarta Servlets
  • Shut down gracefully
  • Cover HTTP behavior with integration tests on an ephemeral port
Skill Status
Jetty Bootstrap Planned
src/
├── main/
│ ├── java/
│ │ └── com/example/app/
│ │ ├── Application.java
│ │ ├── server/
│ │ │ └── JettyServerFactory.java
│ │ └── handler/
│ └── resources/
└── test/
└── java/
Terminal window
./mvnw test
./mvnw package
java -jar target/*-SNAPSHOT.jar