Jbpm, full name: Java Business Process Management (Business Process Management ), it is an open-source, flexible, and scalable executable process language framework covering business process management, workflows, service collaboration, and other fields. Jbpm is a public source project that follows the ASL (APACHE license version 2.0) and EULA (JBoss End User License Agreement) protocols.
The Business Logic definition of jbpm does not adopt some current specifications, such as WfMC's xpdl, bpml, ebXML, and BPEL4WS, instead, it uses the JBoss jbpm Process Definition Language (jpdl) defined by itself ). Jpdl considers a business flow as a UML state chart. Jpdl defines each part of the state chart in detail, such as the start and end states and the transition between States. It intuitively describes the business process through graphic process definitions.
Another characteristic of jbpm is that it uses hibernate to manage its database. Hibernate is a data storage layer solution that is very popular in the Java field. As long as it is a database supported by hibernate, jbpm is also supported. Through hibernate, jbpm separates data management functions and focuses on business logic processing.
Workflow:
1) The jbpm operation requires database support. Therefore, you must select the database to be used during system design. Jbpm supports databases supported by hibernate. The initialization of the database can be completed automatically by jbpm, or an SQL statement can be generated through the ant generate. DDL task to create the required tables outside jbpm.
2) use jpdl to define the workflow and generate the processdinination. xml file. Jpdl can be used, but currently only jbpm1.0 is supported, and there are many bugs. The xml dtd definition file is in the jbpm download package.
3) Ant create. PVDF generates the working directory of the pdpdpackage. Put the processdinination. xml file and other required files in the specified directory, and use ant build. precess. Archives to generate the PVDF package. The format of the partial code package is jar.
4) modify the relevant properties of the working directory/src/config/jbpm. properties of the apsaradb for PPAs, mainly to set the relevant database connection information. Note that you should place the JDBC driver of the database in the lib directory of the working directory of the apsaradb for MongoDB.
5) Ant deploy. process. Archives: deploy the generated PDE to the database. In fact, it is to insert some related data into the database.
6) Use jbpm API functions to develop corresponding workflows.
This course is a full version of 21 lectures and provides code, which can be said to be a rare tutorial on the Internet. Download and learn your favorite kids shoes !!
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/49/wKiom1QSfwjSYV4mAATXfA_EnBk521.jpg "style =" float: none; "Title =" jbpm1.png "alt =" wkiom1qsfwjsyv4maatxfa_enbk521.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/4A/wKioL1QSfxmzBn74AAa6WWS0en0213.jpg "style =" float: none; "Title =" jbpm2.png "alt =" wkiol1qsfxmzbn74aaa6wws0en0213.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/49/wKiom1QSfwmRNmNIAAMsdfjV7Yk235.jpg "style =" float: none; "Title =" jbpm3.png "alt =" wkiom1qsfwmrnmniaamsdfjv7yk235.jpg "/>
: Http://bbs.it1717.com/thread-323-1-1.html
Download the complete jbpm video tutorial [21]