Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] What do we exactly dislike in Servlet?

On Wednesday, July 13, 2022, Stuart Douglas <sdouglas@xxxxxxxxxx> wrote:

On Wed, 13 Jul 2022 at 16:27, Greg Wilkins <gregw@xxxxxxxxxxx> wrote:

On Wed, 13 Jul 2022 at 05:57, arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
One argument I heard is that Servlets are much, much slower than Jakarta REST. But I'm not quite sure why a Java class that implements jakarta.servlet.Servlet should be slower in any way than a Java class with the @Path annotation.

TBH I don't know if the horse has bolted with this one, as most interested parties already have their own low level APIs. 

Isn’t standardising similar but incompatible existing APIs from multiple vendors one of the things that Jakarta EE stands for?

Kind regards,
Arjan Tijms


At the very least, I'd like Servlet 7 to look at splitting the servlet spec into the pure API concerns and the application framework concerns (eg war packaging, annotations, descriptors etc.).   Perhaps the core API will not be to everybody's taste or meet every need, but it might be simpler and fast enough such that it's standard nature provides something good enough for many non servlet usages.

I think all of these 'HTTP core implementations' mentioned in the other emails are fully async, and even if we stripped all the packaging etc from Servlet it will never meet that requirement in its current form.



servlet-dev mailing list
To unsubscribe from this list, visit

Back to the top