Jetty Bootstrap
Create embedded Jetty applications with handlers, Jakarta Servlet APIs, graceful shutdown, and integration tests.
Purpose
Section titled “Purpose”Help AI coding tools scaffold embedded Jetty applications that start cleanly, expose HTTP endpoints, shut down gracefully, and include automated HTTP tests.
Current status
Section titled “Current status”Planned across Grok, GitHub Copilot, and Claude Code.
Supported frameworks
Section titled “Supported frameworks”Supported Java versions
Section titled “Supported Java versions”- Java 21 (preferred)
- Java 17 (supported)
Supported platform repositories
Section titled “Supported platform repositories”| Platform | Repository | Status |
|---|---|---|
| Grok | java-for-grok | Planned |
| GitHub Copilot | java-for-github-copilot | Planned |
| Claude Code | java-for-claude-code | Planned |
Common use cases
Section titled “Common use cases”- Embedded server bootstrap for library-style or standalone apps
- Handler-based HTTP APIs
- Jakarta Servlet deployments inside Jetty
- Graceful shutdown and integration testing
Example prompts
Section titled “Example prompts”Bootstrap an embedded Jetty application using Java 21 and Maven with a JSON handler, graceful shutdown, and integration tests.Create an embedded Jetty app that deploys a Jakarta Servlet and serves a health endpoint.Add HTTP integration tests that start the embedded server on an ephemeral port.Expected generated project structure
Section titled “Expected generated project structure”src/├── main/│ ├── java/│ │ └── com/example/app/│ │ ├── Application.java│ │ ├── server/│ │ │ └── JettyServerFactory.java│ │ └── handler/│ └── resources/└── test/ └── java/Installation or usage by platform
Section titled “Installation or usage by platform”Planned — track java-for-grok.
Planned — track java-for-github-copilot.
Planned — track java-for-claude-code.
Source repository links
Section titled “Source repository links”Limitations
Section titled “Limitations”- Skill content is designed ahead of platform packaging.
- Does not cover external servlet-container deployments as the primary path.
- Security and observability remain separate concerns.
Roadmap
Section titled “Roadmap”- Land initial Available packaging on at least one platform
- Expand servlet vs handler examples
- Align with Jetty 12 Jakarta APIs and testing patterns