We use jersey for the REST web service (deployed on tomcat).
I know that
- The Tomcat HTTP Connector has a thread pool for reading HTTP requests and forwarding in Jersey.
- Forwarding to Jersey synchronously.
I read here what jersey provides AsyncServiceto maximize concurrency.
Question: Why does the Jersey asynchronous project project developer turn off REST processing to split / runnable, while Jersey can do this on its own using a dedicated / private pool of executors?
Is this the best control for the developer, or am I not seeing something here?
source
share