Hi Jlian,
+1 IMO is incredibly important for server -> server communication See my issue:
https://java.net/jira/browse/JAX_RS_SPEC-523
cheers,
adam
> On 19.02.2016, at 11:44, Jian Wu Dai <daijianw_at_cn.ibm.com> wrote:
>
> 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
>
>