Osworkflow- One of the OSWORKFLOW + MYSQL: Arrange the OsWorkflow-2.7.0-Example Instance

xiaoxiao2021-03-06  39

/ * * Author: meanson Wang * Date: 2005-01-15 * email: meansonw@hotmail.com*/OSWORKFLOW - One of the OSWORKFLOW MYSQL: Arrange OsWorkflow-2.7.0-Example Instance

[Environment] Win2000Sworkflow 2.7.0 Tomat 5.0.25Mysql 4.1.7-NT MySQL-Connector-Java-3.0.15-Ga-bin.jar

Hani made a good Demo called OsWorkflow-2.7.0-Example.war, put it under OSWF compressed file. If you want to learn OSWF, there is no doubt that you first touch it first.

Arrangement OSWF instance is very simple, put the WAR file under Tomcat / WebApps, start Tomcat, and visit the URL:

Http: // localhost: 8080 / OSWORKFLOW-2.7.0-EXAMPLE

This example is completely used in memory, that is, workflow definition (XML), workflow data is saved in memory, it is the advantage, you can experience OSWF, you can experience OSWF without laying anything. Just like now, you click on [You Can Also Load Some Reference Data By CLICK EXAMPLE "home, it will automatically add users Test to memory, and the password is also TEST. Use this user to log in, you will enter the simple interface of workflow work.

Before going in, I remember to see the picture, it is the flow chart of the example workflow, which is not unarithous, but the basic content is all, the process is separated, the process merges, etc. You can find this instance in the following article, is about a process of publishing a book, thank you QUAKE WANG to translate its Your First Workflow

Http://wiki.opensymphony.com/pages/viewpage.action?pageid=2501

Very simple, is it? The advantage of example is very convenient and fast, it is attracted to you, but the harm is coming soon. . . Next, let's implement how to persist instance, however, how to put it into the database. The reason why OSWF is flexible because it can be implemented in addition to memory [MemoryStore (DEFAULT)], you can also use SerializAblestore, JDBCStore, OFBIZSTORE, AND EJBStore. This article involves JDBCStore.

Why is it bad? Everything is derived from Hani written operating manual, which is extremely operational. So in this article, this article is written down, let the later people walk less. After all, OSWF is a very good workflow engine.

Next, we studied the process of flowing the workflow process in data for persistence.

转载请注明原文地址:https://www.9cbs.com/read-68537.html

New Post(0)