Learn about asynchronous beans

 

Learn about asynchronous beans

This topic provides links to Web resources for learning, including conceptual overviews, tutorials, samples, and "How do I?..." topics, pending their availability.

How do I?...

  Configure asynchronous beans interfaces and assemble applications that use them
Checkmark Configure timer managers
Checkmark Configure work managers
Checkmark Assemble applications that use asynchronous beans work managers and timer managers
Checkmark Assemble applications that use asynchronous beans work managers
Checkmark Assemble applications that use CommonJ work managers
Checkmark Assemble applications that use CommonJ timer managers
  Develop asynchronous beans objects
Checkmark Develop work objects to run code in parallel
Checkmark Develop event listeners
Checkmark Develop asynchronous scopes
  Interoperate with asynchronous beans
Checkmark Interoperate with asynchronous beans

Conceptual overviews

Documentation Documentation Asynchronous beans
   
Presentation Presentations Education on Demand offers:

   
Redbooks See Chapter 7 of the IBM Redbook WebSphere Application Server Enterprise Version 5 and Programming Model Extensions

Note:

  • Version 5.x Redbooks are cited for their conceptual material. Product technical details have changed in Version 6. Refer to the product documentation for current product and technical details. Links to Version 6 Redbooks will be added as they become available.

  • Redbooks are supplemental rather than formal product documentation. Read their Notices carefully. For information about supported configurations, consult the product documentation.

Tutorials

Tutorials are not available at this time.

Samples

Samples The Samples Gallery offers:

  • Greenhouse by WebSphere

    Using the Greenhouse by WebSphere online supplier, customers can open accounts, select items and amounts to order, and check their order status. The Greenhouse by WebSphere application uses Web services, the Java message service (JMS) API, scheduler, asynchronous beans, container-managed persistence (CMP), container-managed relationships (CMR), stateless session beans, message-driven beans (MDB), Java server pages (JSP) files, and the struts framework.

  • Asynchronous beans - WebSphere Trader This Sample illustrates how to implement a streaming stock ticker server and client using asynchronous beans and J2EE services such as:

    • Servlets

    • Java Message Service (JMS)

    • Session enterprise beans

    • Container-managed persistence (CMP) 2.0 enterprise beans

    • Message-driven beans (MDB)

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

    • Work - Runs J2EE context-aware code on a thread.

    • Alarm - Runs J2EE 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 J2EE 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.




Searchable topic ID: welc6tech_asb_links