-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
The initial version of Hartshorn Web was built around custom request/response interfaces. While this is technically sufficient, it lacks a 'well known' interface to the world. As such, we should support the Jakarta Servlet API, either with a custom implementation (not preferred) or by sufficiently updating implementations to support it (preferred).
Use case
We use Jakarta's APIs throughout Hartshorn (Jakarta Inject, Jakarta Annotations), which help us provide a commonly known API to new users (even if we don't strictly adhere to their specification).
For the web API this is all the more relevant, as the Jakarta Servlet API is by far the most common across Java web frameworks (Jetty, Spring, Javalin, Spark, etc). As such it has the most support from third party libraries (e.g. Apache Commons, Micrometer, Sentry, etc)
Related issues
No response