Research and Implementation of Lightweight Workflow Engine
|School||PLA Information Engineering University|
|Course||Applied Computer Technology|
|Keywords||Workflow Management System Workflow engine XML Relational Database Inversion of Control|
Workflow engine as a workflow management system core background , responsible for the interpretation workflow definition model, control , maintenance, operation of the process instance is a workflow management system is the key. The current prevalence of flexible workflow system is poor, too cumbersome and other shortcomings for these deficiencies , this paper in the full study abroad mainstream workflow products under the premise , through the Workflow Management Coalition 's XPDL (XML Process Definition Language) can be simplified , starting from a lightweight and flexible , designed and implemented based on Extensible Markup language (XML) and relational databases lightweight workflow engine, which kernel is based on inversion of control (Inversion of Control, IoC) , using a hierarchical design method , full use of sophisticated relational database technology . This paper mainly done the following aspects: 1 , according to the lightweight , based on XML and relational database design principles are given engine architecture and outline design, while its realization mechanisms and operating principles are described ; 2. based on finite state automata (Finite State Automaton, FSA) theoretical foundation, established a process definition engine model , and gives details of its realization ; 3 , gives the engine the organizational structure and role model and its implementation ; 4. gives a detailed execution engine design and implementation ; 5 describes the process instance based on tasks and scheduling strategy ; 6 , during the operation of the engine anomalies may occur , and the abnormal build capture mechanism of the engine ; 7 , combined with specific projects , according to the actual business processes, workflow instance is given a concrete realization . Practical application shows that the workflow engine can handle common workflow patterns , improve process-based information management system of secondary development efficiency, reduce development time, reduce development costs.