Introduction: Asynchronous beans
Explore the key concepts pertaining to 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 2 Platform Enterprise Edition (J2EE) application, using the J2EE 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 J2EE context.
- Asynchronous scopes
- An asynchronous scope (AsynchScope object) is a unit of scoping provided for use with asynchronous beans.
- Alarms
- An alarm runs Java 2 Enterprise Edition (J2EE) 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 2 Platform Enterprise Edition (J2EE) 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.