Conversational programs
An IMS program can support a transaction that is composed of one interaction or multiple interactions. A transaction with multiple iterations is referred to as a conversational transaction.
An IMS conversational program is intended to process more complex transactions that take multiple interactions to complete. Each interaction is known as an iteration of the conversation. An IMS conversational program divides the complex processing into a connected series of client-to-program-to-client interactions that are known as iterations. In each iteration of a conversation, the IMS conversational transaction program receives a request message from the client, processes that request, and sends a reply to the client. The program also saves any intermediate data from the transaction in the scratchpad area (SPA) to be used in the next iteration of the conversation. The user can modify the data in the reply, or enter additional data and then send in the request to IMS to process the next iteration of the conversation. Using the data in this new request along with any data in the SPA from the last iteration, the IMS conversational program will process the next iteration of the conversation. The processing of these iterations continues until the conversation is ended either by the client application or by IMS.
- Java™ applications or Web applications
- Business process applications that are based on service component architecture (SCA) in a service-oriented architecture (SOA)
Java applications or Web applications
With Java or Web applications, a user uses the same browser session to conduct a series of requests that iterate through different interactions of an IMS conversation. One possible implementation involves a Java servlet receiving an input request from the browser and using IMS TM resource adapter classes to send a conversational transaction request to IMS Connect through a TCP/IP communication. IMS Connect then forwards the transaction request to both OTMA and IMS and schedules the IMS conversational transaction to run; this process creates a new IMS conversation. The IMS application processes the request and sends the output back to the Java servlet through the conversational support in IMS Connect and in the IMS TM resource adapter. The Java servlet loads the appropriate JavaServer Pages (JSP) file to display the output to the user in the browser.
Business process applications
A business process is an orchestration of a set of services to fulfill a particular business goal. Business process choreography is a key SOA implementation to ensure that business applications are composed of flexible and adaptable elements. IBM® WebSphere® Process Server provides the runtime infrastructure to execute business processes, and IBM WebSphere Integration Developer provides the modeling tool to author business processes and various other components.