I have a JAX-RS service:
@GET
@Path("/foo")
/* ... */
public Response show() {
// Execute an async task here
return Response.ok().entity(result).build();
}
I am aware we can create a thread pool service, or use the JVM commonPool(), but I wonder if there is an internal thread pool in JAX-RS standard or implementation (I use Jersey with Jetty) e.g. the thread pool for handling the requests?