|
bea Systems, Inc. | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Shows the use of Theory Center's Workflow eBusiness Smart Components.
See:
Description
Class Summary | |
WorkflowExample | Workflow example. |
Shows the use of Theory Center's Workflow eBusiness Smart Components.
This example demonstrates:
Workflow
This example shows the use of a Business Smart Component that has a workflow associated to it The workflow states and transitions are modeled with Rational Rose. For this examples, we'll use the EBusinessSession Component. This component has a workflow that guides it through the different stages of an online e-business session. If you look at the Rose model file for the ebusiness.session package, you will find that EBusinessSessionWorkflow has a state diagram associated to it. The workflow logic can be implemented in any way you want; however, Theory Center provides a reference implementation. For the reference implementation, for each component with the BSC.Workflow stereotype, all the states and transitions in the Rose model are generated into a complete state machine by the SmartGenerator, so you can use it immediately, without any hand-coding of the workflow states or transitions. Please note that the SmartGenerator is NOT included in the JumpStart Kit. In this example, we also use the EBusinessSessionManager and show how a "manager" session bean can simplify the usage of an entity bean
Workflow Example
The workflow example application performs the following steps:
To get the most
out of this example, first read through WorkflowExample.java
then you can build it and run it.
Please note: to build and run, you must have the following in your CLASSPATH:
1) smart-generator.jar (..\theorycenter\smart-generator.jar), axiom-foundation.jar (..\theorycenter\lib\axiom-foundation.jar), and ebusiness.jar (..\theorycenter\lib\ebusiness.jar) .
2) Application Server classes (default classpath required by Weblogic)
The fastest way to run any of the examples is by using the scripts provided in ..\theorycenter\*.bat
|
bea Systems, Inc. | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |