Java features explained with examples

Monthly archives for May, 2016

Asynchronous REST endpoints

When developing a REST API, a major concern is how to scale the application to cope with large amounts of requests in an efficient way. This excellent article explains the different models to deal with the requests: thread per connection, thread per request and the support for async Servlets introduced in Servlet 3.0. The basic ideas are: threads […]