BTT processor is a generic screen flow. With this feature, Web, Java Rich Client and Modile Client screen flows can be supported. Also, user can expand the processor to support customized channel.
A processor performs a specific business process based on a defined flow of states. A processor contains an initial state, one or more final states and any number of other states through which it might go. The toolkit definition file may contain processor definitions or, for self-defined processors, there are separate XML files. Each processor definition includes XML representations of all the parts and features that would be included in the state chart diagram of the flow.
A processor contains an instance of a context for data and services management. All actions that the processor executes during its lifetime can access the processor context or use their own context. If the action does not have a defined context, the action uses the processor context. If the action does have a defined context, the toolkit chains the action context to the processor context.
The "helloWorldProc" is the only processor in the HTML HelloWorld Sample. This process collects user input (helloWorld.jsp) and prints them to result page (helloWorldComplete.jsp).
Also, helloWorldProc has a inner operation named helloWorldOp implements by com.ibm.btt.samples.helloworld.HelloWorldOp class. This inner operation handles the process redirection according to user input.