Activiti5 is a business process management (BPM) framework, released by Alfresco Software on May 17, 2010, which is an open-source, flexible, and extensible executable process language framework that covers business process management, workflow, and service collaboration. Activiti based on the Apache-licensed open source BPM platform, founder Tom Baeyens is the project architect for JBoss JBPM, and the JBPM4 API has an acquaintance level of up to 60%. After leaving JBoss, Tom abandoned and jbpm integrated hibernate, opting for mybatis as a persistence framework. A good package based on Activiti, with a service-oriented architecture, even if you are unfamiliar with mybatis users, don't worry about MyBatis.
Use the ACTIVITI5 Software environment to prepare the following:
1. JDK1.6 or later;
2. Supported databases are: H2, MySQL, Oracle, Postgres, MSSQL, DB2, etc.;
3. Support ACTIVITI5 running the jar package;
4. The development environment is Eclipse3.7 or above, MyEclipse is version 8.6.
Downloads for related Resources ↓
1. JDK can be downloaded to Sun's website: http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Database, for example: MySQL can be downloaded on the official website; http://www.mysql.com
3. Activiti can also be downloaded to Activiti official website: http://activiti.org/download.html
4. Eclipse3.7 or MyEclipse8.6 can also be downloaded to the appropriate website.
The official package directory structure is as follows:
Installation process designer (Eclipse plugin)
1. In the case of a network, the Setup process designer steps are as follows:
1) Open Help, Install New software. In the following panel:
2) Click the Add button in the following Install interface panel:
Configure the address and name of the newly installed plug-in.
3) then fill in the following fields:
Name:activiti BPMN 2.0 Designer
location:http://activiti.org/designer/update/
:
4) go back to the Install screen and tick all the items shown in the center of the panel:
5) Tap the check box:
In the Detail section, remember to select "Contact all updates sites." Because it will check all the plugins required for the current installation and can be downloaded by Eclipse.
6) After installation, click New Project New->other ... Open the panel, if you see the content:
Indicates that the installation was successful.
2. In the absence of a network, the Setup process designer steps are as follows:
1) Decompression teacher sent to you:
: http://pan.baidu.com/s/1ntupUD7
2) put the contents of the package into the Dropins folder of the Eclipse root directory;
3) Restart Eclipse, click New Project New->other ... Open the panel.
Instructions for using the process designer
Open the menu Windows->preferences->activiti->save the process flowchart slices are generated in the following way:
Although the process engine automatically generates images when the BPMN file is deployed separately, in the actual development process, automatically generated images can cause discrepancies with the coordinates in BPMN, and the current location map of the process will be problematic in the actual project.
Therefore, after completing the above configuration, we will manage the flowchart slices by ourselves.
Authoritative Activiti Framework for learning