Java Threads and the Concurrency Utilities Jeff Friesen
Publisher: Apress
Specification: JSR-236 Concurrency Utilities for Java EE ("Specification"). Version: 1.0 All application component code is run on a thread managed by a . The Java 2 platform includes a new package of concurrency utilities. Prefer concurrency utilities to wait and notify; 70. Introduction • Extension of the Java SE Concurrency Utilities API on server managed threads • Tasks must implement either: – java.lang. You can configure ManagedExecutorService instances to run asynchronous tasks with the specified thread context. The primary components of the concurrency utilities are as follows. It also enables the creation of managed thread factories to create threads that run server.xml file to configure the Concurrency Utilities for Java EE 1.0 feature:. The Java Concurrency Utilities framework offers an alternative to Java's low-level threading capabilities. Prefer executors and tasks to threads; 69. Tasks are executed on threads that are started and managed by the container.