|Re: [jakartaee-platform-dev] What do we exactly dislike in Servlet?
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.
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.Stuart
servlet-dev mailing list
To unsubscribe from this list, visit https://www.eclipse.org/
Back to the top