Introduction: Asynchronous beans
Asynchronous beans and asynchronous scheduling facilities offer performance enhancements for resource-intensive tasks by enabling single tasks to run as multiple tasks.
- Asynchronous beans
- An asynchronous bean is a Java object or enterprise bean that can be executed asynchronously by a Java EE application, using the Java EE context of the asynchronous bean creator.
- Work objects
- A work object is a type of asynchronous bean used by application components to run code in parallel or in a different Java EE context.
- Asynchronous scopes
- An asynchronous scope (AsynchScope object) is a unit of scoping provided for use with asynchronous beans.
- An alarm runs Java EE context-aware code at a given time interval. Alarm objects are fine-grained, nonpersistent, transient, and can fire at millisecond intervals.
- Subsystem monitors
- A subsystem monitor is an object that monitors the health of a remote system. It uses an event source to inform all registered listeners of the health of the system.
- Asynchronous scopes: Dynamic message bean scenario
- Java EE now supports message-driven beans, but the beans are static. This scenario provides information about how to set up the environment to enable the dynamic message bean.