| The Samples Gallery offers:
- WebSphere Bank
Using the WebSphere Bank online bank, customers can open accounts, get account balances, and transfer funds between accounts.
The WebSphere Bank application uses Web services, Java Message Service (JMS)
API, container-managed persistence (CMP), container-managed relationships (CMR), stateless session beans, Message-Driven Beans (MDB), JSP pages, and servlets
- 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.
- MDB Sample
The Message-Driven Bean (MDB) Sample consists of an Application client and two message driven beans. The application client sends a message to a queue or a topic, each of which has a message driven beans acting as a JMS message listener. The message includes a temporary reply-to queue. The message driven bean listening to the queue or topic receives the request message and sends a response to the reply-to destination taken from the request. The client then receives the response from the reply-to queue.
- 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.
|