3 ms·
Jax RS has more overhead compared to the Servlet API. Using the Servlet API, Jersey (Jax RS implementation) must route the request to the correct resource class
by einrealist 10y ago
Jax RS has more overhead compared to the Servlet API. Using the Servlet API, Jersey (Jax RS implementation) must route the request to the correct resource class (Controller). Dependencies of that class as well as lifecycle dependencies (filters, interceptors, message body readers and writers) have to be instantiated to finalise the request.