| Nowadays everything is changing rapidly in the business world. One of the best way to enhance enterprise's ability of competition is to make your business flexible enough to change for the market demand. Using workflow technology is a effective way to realize the enterprise application integration softly. With this technology, we can separate the definition of the business operation and perform of business operation. By separating the application logic from the process logic and organizing humans, information and application tools together properly, process integration not only makes the system most efficient, but also helps the enterprise achieve its business goal.In this article, after deeply researching Workflow Management System specification and analyzing the theory and realization model which many workflow technology are now based on, by using xml technology and Java reflection function and the latest language recognition tool, we can define workflow model by user-defined language, and by using language recognition tools, parse the definition to operation it. Then based on this, we design the workflow engine including the principle of the running, the function of the engine and the whole structure. Finally, the design and the realization of the engine are discussed in great detail. |