In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
In order to better explain the characteristics and differences of the two workflow engines of activiti and jflow, we make a comprehensive and objective comparison according to the following aspects.
First of all, activiti is an open source workflow engine abroad, which has a far-reaching and extensive international influence. It has solved many problems in the field of BPM, which is worthy of our appreciation. His boss is the predecessor of jbpm.
JFlow is an open workflow engine of Jinan Gallop Company. The predecessor of JFlow is CCFlow,ccflow, an old open source workflow engine in China, which has undertaken many large-scale projects and adapted to the complex domestic application environment.
Activity is relatively simple, with only a process engine and no forms engine. In the research field of BPM, many scholars and experts separate the process engine from the form engine. We don't quite agree with this view. It takes a lot of code development to implement the function.
JFlow is the organic combination of JFlow process engine and CCForm form engine, with relatively complex content, high degree of configuration, short implementation cycle and quick start.
Workflow engine-comparison
The popular foreign workflow activiti model is compared with the current open source JFlow (ccflow and jflow) process engine in China. So that you can understand the differences, differences, advantages and disadvantages between the workflow engine of China's national conditions and the international popular design rules.
What is more common in foreign workflow is to meet the support of 21 process modes.
Comparison of five basic control flow modes: sequential flow (Sequence)
ACTIVITI:
It is to run down step by step according to the steps of the process design, in this mode, each node has an order, that is, only one node is active.
Example: for example, after the application is approved, the task is carried out step by step.
JFLOW:
A sequential flow, also known as a linear process without branches, usually ends automatically at the last node and identifies the completion of the process. You can also end the process automatically by setting node conditions.
The characteristic of JFlow is that it allows users to define the completion conditions of the process. During the operation of any node, JFlow has to check the condition settings, and if this condition is met, the process will end automatically.
Parallel bifurcation (ParallelSplit)
ACTIVITI:
The process generates multiple branches after an activity (node, step) and flows in parallel.
Example: for example, if you need to buy a product on Taobao, then the seller needs to prepare the goods for delivery while preparing the invoice for mail.
JFLOW:
In the shunt action of a different table, after the end of an action (shunt node), multiple branches are started in parallel, and each branch has to move downwards.
In cc, you can decide whether or not to enable a branch based on the orientation condition setting.
Synchronization (Synchronization)
ACTIVITI:
At some point in a process, multiple parallel subprocesses or activities are merged into a single process. The process must wait for all branches to complete before activating follow-up activities.
Example: for example, merchants can not confirm receipt of goods until they receive "invoices" and "goods".
JFLOW:
For the confluence action in a different table, a certain completion rate can be specified in order to reach the confluence node. For incomplete child threads, delete operations can be performed.
Exclusive selection (Exclusive Choice)
ACTIVITI:
After an activity is completed, only one of the subsequent branches can be activated.
Example: for example, after the user places an order, there can be N payment methods, but only one of them can be selected.
JFLOW:
A linear process with branches. It can be controlled by directional conditions or manually by the user.
Simple aggregation (Simple Merge)
ACTIVITI:
In the process, more than two branches are merged into one branch at one point, and as long as one of the branches is completed, it can continue, while the other branches end automatically.
Example: for example, delivery is activated only after one of the payment methods such as the Construction Bank and the Bank of China is completed.
JFLOW:
It can be either a linear process with branches or a confluence action of different forms. In the linear process, after the node that needs to be executed is selected somewhere and the execution is completed, the subsequent node executes step by step, and the node that is not selected does not execute.
In the different form, you can set the nodes that need to be executed through conditions, other nodes do not execute, and complete the summary and activation at the rendezvous point. Alternatively, the operation of the rendezvous point is activated by setting the completion rate.
To distinguish whether it is a split-and-merge flow, by looking at the node type.
The basic control flow mode is realized comprehensively in ACTIVITI and JFLOW.
ACTIVITI:
JFLOW:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.