A workflow is a type of business process of management(BPM) which can be automatically executed partly or fully.According to a series of process rules,a workflow makes documents,information and tasks to be delivered and executed among different operators,it is the computerization and automatization of business process.A workflow management system is the software environment supporting the execution of workflows.With the rapid development of the Internet and Java open source project,the implementation of workflow management system based on the lightweight J2EE platform has become an issue.Today's lightweight J2EE frameworks support and implement the advanced concepts of programming nowadays such as IoC,AoP,make the realization of common functions of a system-those are,for example,authority assignment,transaction management,log,exception management,etc,-mostly simplified.By introducing another open source framework called OSWorkflow into our work,we can design and implement a stable,maintainable workflow management system quickly and effectively.We start with introducing the basic and relative conceptions of workflow,and discuss java open source framework OSWorkflow and its integration with J2EE system. Then we link to the reality,specify the implementation of a workflow based on J2EE platform using an example of a practical workflow project from the SPOA system of China Unicom,showing how to develop a low coupling,complicated and flexible workflow management system.Our specification involves these aspects:system architecture,function modules,design goals,implementation plan,describing complicated business process using design patterns,etc. |