Apr 15, 2006

[Library] JBoss jBPM にチャレンジ

先日調べたワークフローエンジンの中から JBoss jBPM を試してみた。

JBoss jBPM
http://labs.jboss.com/portal/index.html?ctrl:id=page.default.info&project=jbossjbpm

JBoss jBPM の環境構築

JBoss jBPM 3.0.1 の実行環境構築方法は以下の通り。

  1. クラスパスのルートに jbpm.properties を設置する。
    • antlr-2.7.5H3.jar
    • asm-attrs.jar
    • asm.jar
    • bsh-2.0b2.jar
    • cglib-2.1.jar
    • commons-collections-2.1.1.jar
    • commons-logging-1.0.4.jar
    • converter.jar
    • dom4j-1.6.jar
    • ehcache-1.1.jar
    • hibernate3.jar
    • jaxen-1.1-beta-4.jar
    • jbpm-3.0.1.jar
    • jbpm-identity-3.0.1.jar
    • jdbc2_0-stdext.jar
    • jta.jar
  2. クラスパスに以下の jar を追加する。

jbpm.properties は JbpmConfiguration が自動的に読み込む。 jbpmConfiguration が jbpm.properties を探すサーチパスは
  1. クラスパス内の /jbpm.properties
  2. クラスパス内の /org/jbpm/jbpm.properties
となっている。 そのため、クラスパスルートに jbpm.properties を置いておくと JBoss jBPM の設定を変更できる。

とっかかり

とりあえずこの辺りを読めばとりあえず使えるというドキュメントをメモ。

チュートリアル
http://docs.jboss.com/jbpm/v3/userguide/tutorial.html
Graph Oriented Programming
http://docs.jboss.com/jbpm/v3/userguide/graphorientedprogramming.html
jPDL xml schema
http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#d0e4520
Expressions
http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#expressions
Expression Language
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html
Script
http://docs.jboss.com/jbpm/v3/userguide/processmodelling.html#script
beanshell
http://www.beanshell.org/