users@jax-rs-spec.java.net

[jax-rs-spec users] JAX-RS threads and callbacks that are made from them

From: Jian Wu Dai <daijianw_at_cn.ibm.com>
Date: Fri, 19 Feb 2016 10:44:59 +0000
I recently came across  a question related to whether the thread to invoke JAX-RS callback should be implemented as a managed thread in EE environment?  I can't find any place in the spec to explicitly answer the question except the following sentence in the Chapter 8:
"

For more information on executors, concurrency and thread management in a Java EE environment, the reader is referred to JSR 236 [14].

"
 
So what is the intent of the spec regarding JAX-RS threads and callbacks that are made from them in EE environment?  

From the standpoint of Concurrency Utilities for Java EE spec, the ContextService exists for the sort of situations where you will be running on a thread that lacks the proper context.  However, is this the intent of JAX-RS spec under the situation?
 
Thanks.

Best Regards,
Jian Wu Dai