Learn about asynchronous beans


 

+

Search Tips   |   Advanced Search

 

 

Set asynchronous beans interfaces and assemble applications that use them

  1. Set timer managers
  2. Set work managers
  3. Assemble applications that use asynchronous beans work managers and timer managers
  4. Assemble applications that use asynchronous beans work managers
  5. Assemble applications that use CommonJ work managers
  6. Assemble applications that use CommonJ timer managers
  7. Develop work objects to run code in parallel
  8. Develop event listeners
  9. Develop asynchronous scopes

 

Interoperate with asynchronous beans

  1. Interoperate with asynchronous beans
  2. Asynchronous beans

 

Samples

The Samples Gallery offers: Asynchronous beans - WebSphere Trader application, that illustrates how to implement a streaming stock ticker server and client

This Sample uses several parts to maximize the utilization of a server:

Work Runs Java EE context-aware code on a thread.
Alarm Runs Java EE context-aware code at a given time interval.
EventSource A method of broadcasting events to registered listeners.
SubsystemMonitor A thread that monitors the status of any asynchronous system and uses an EventSource method to inform registered listeners of the system status.
WorkManager Thread configuration and Java EE context policies that are used by various asynchronous beans parts.
AsynchScope A collection of alarms, subsystem monitors and other asynchronous scopes that support relationships. This collection utilizes a single WorkManager thread and is also an event source.
Startup Bean A specialized, stateful session enterprise bean that supports bootstrapping asynchronous work when the application starts.