EE concurrency utilities for Java EE

Java EE 7 introduces a new specification called EE concurrency utilities for Java EE. The main target is not only to provide a way to work with threads from your EE application, but also to handle EE context propagation, including security, transaction, and so on.

When using this API, remember that the propagated context highly depends on the container. This API is, however, a very good choice compared to a custom thread pool management because the configuration is outside the application and standard for the container, and also because it gives you the ability to benefit from the API that we will see in this section.

What is very clever to do at the specification level is to reuse the standard APIs, such ...

Get Java EE 8 High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.