Show Table of Contents
第10章 非同期の続行
10.1. コンセプト
JBPM は グラフ指向プログラミング (GOP) に基づいています。基本的に、GOP は並列実行パスを扱える単純な状態マシンを指定できます。しかし、GOP で指定されている実行アルゴリズムでは、すべての状態遷移は、クライアントのスレッドでひとつの操作によって行われます。デフォルトでは、クライアントのスレッドにおいて状態遷移を行うことは、サーバー側のトランザクションに自然に適合するため、良いアプローチとなります。プロセス実行は、別の待機状態にひとつのトランザクション内で移動します。
状況によっては、 開発者がプロセス定義のトランザクション境界を微調整したいことがあります。 jPDL では、 プロセス実行が属性
async="true" で非同期に続行するよう指定できます。 async="true" は、 イベントでトリガーされ、 すべてのノードタイプとすべてのアクションタイプで指定できる場合のみサポートされます。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.