jBPM3.12用戶指南中文翻譯----第五章 部署

          ?這是Jboss 的jBPM3.12框架的用戶指南的中文翻譯。我的翻譯風格是中英文對照,只翻譯部分我認為重要的,不翻譯簡單的英文,以免浪費你我的時間。 同時,對于其中的部分內容,我會在翻譯中做出解釋和寫上我的理解。

          Chapter?5.?Deployment部署

          jBPM is an embeddable BPM engine, which means that you can take jBPM and embed it into your own java project, rather then installing a separate product and integrate with it. One of the key aspects that make this possible is minimizing the dependencies. This chapter discusses the jbpm libraries and their dependencies.

          ?? jBPM是一個嵌入式的BPM(業務程序管理)引擎。本章討論jbpm庫和它的依賴庫。

          5.1.?Java runtime environment

          jBPM 3 requires J2SE 1.4.2+

          5.2.?jBPM libraries

          jbpm-[version].jar is the library with the core jbpm functionality.jbpm的核心功能庫。

          jbpm-identity-[version].jar is the (optional) library containing an identity component as described in Section?11.11, “The identity component”.

          可選的,這個庫包含了身份驗證組件。用于流程的參與者的管理。

          5.3.?Third party libraries第三方庫

          In a minimal deployment, you can create and run processes with jBPM by putting only the commons-logging and dom4j library in your classpath. Beware that persisting processes to a database is not supported. The dom4j library can be removed if you don't use the process xml parsing, but instead build your object graph programatically.

          最小的jbpm部署,只需要核心jbpm庫和commons-logging庫,以及dom4j庫到你的classpath中。此時,不支持持久化業務程序到數據庫。

          Table?5.1.?

          Library

          Usage用途

          Description描述

          Directory目錄

          commons-logging.jar

          logging in jbpm and hibernate

          The jBPM code logs to commons logging. The commons logging library can be configured to dispatch the logs to e.g. java 1.4 logging, log4j, ... See the apache commons user guide for more information on how to configure commons logging. if you're used to log4j, the easiest way is to put the log4j lib and a log4j.properties in the classpath. commons logging will automatically detect this and use that configuration.

          lib/jboss (from jboss 4.0.3)

          dom4j-1.6.1.jar

          process definitions and hibernate persistence

          xml parsing

          lib/dom4j

          A typical deployment for jBPM will include persistent storage of process definitions and process executions. In that case, jBPM does not have any dependencies outside hibernate and its dependent libraries.

          典型的jBPM部署包括持久化業務程序定義和執行的功能。 需要Hibernate

          Of course, hibernate's required libraries depend on the environment and what features you use. For details refer to the hibernate documentation. The next table gives an indication for a plain standalone POJO development environment.

          下面的表給出了簡單的標準POJO部署環境需要的第三方庫。

          jBPM is distributed with hibernate 3.1 final. But it can also work with 3.0.x. In that case, you might have to update a few hibernate queries in the hibernate.queries.hbm.xml configuration file. For more info about customizing queries, see Section?7.6, “Customizing queries”

          Table?5.2.?

          Library

          Usage

          Description

          Directory

          hibernate3.jar

          hibernate persistence

          the best O/R mapper

          lib/hibernate (hibernate 3.1 final)

          antlr-2.7.5H3.jar

          used in query parsing by hibernate persistence

          parser library

          lib/jboss (from jboss 4.0.3)

          cglib-2.1_2jboss.jar

          hibernate persistence

          reflection library used for hibernate proxies

          lib/jboss (from jboss 4.0.3)

          commons-collections.jar

          hibernate persistence

          ?

          lib/jboss (from jboss 4.0.3)

          ehcache-1.1.jar

          hibernate persistence (in the default configuration)

          second level cache implementation.二級緩存實現。

          When configuring a different cache provider for hibernate, this library is not required.

          lib/hibernate

          jaxen-1.1-beta-4.jar

          process definitions and hibernate persistence

          XPath library (used by dom4j)

          lib/hibernate

          jdbc2_0-stdext.jar

          hibernate persistence

          ?

          lib/hibernate

          asm.jar

          hibernate persistence

          asm byte code library

          二進制代碼修改庫

          lib/hibernate

          asm-attrs.jar

          hibernate persistence

          asm byte code library

          lib/hibernate

          The beanshell library is optional. If you don't include it, you won't be able to use the beanshell integration in the jbpm process language and you you'll get a log message saying that jbpm couldn't load the Script class and hence, the script element won't be available.

          Beanshell庫是可選的。

          Table?5.3.?

          Library

          Usage

          Description

          Directory

          bsh-1.3.0.jar

          beanshell script interpreter

          Only used in the script's and decision's. When you don't use these process elements, the beanshell lib can be removed, but then you have to comment out the Script.hbm.xml mapping line in the hibernate.cfg.xml

          lib/jboss



          posted on 2006-10-08 18:25 nbt 閱讀(1300) 評論(0)  編輯  收藏 所屬分類: workflow

          <2006年10月>
          24252627282930
          1234567
          891011121314
          15161718192021
          22232425262728
          2930311234

          導航

          統計

          常用鏈接

          留言簿(3)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          Java技術網站

          友情鏈接

          國內一些開源網站

          最新隨筆

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 横山县| 疏附县| 华坪县| 上犹县| 塘沽区| 清河县| 汕头市| 惠州市| 三门峡市| 崇信县| 晴隆县| 子洲县| 蒙自县| 会同县| 长治市| 开阳县| 汉寿县| 徐汇区| 盐山县| 霍邱县| 金沙县| 南城县| 伊宁市| 黑龙江省| 泽库县| 潞城市| 禹城市| 涪陵区| 蒲城县| 云龙县| 伊吾县| 嘉峪关市| 新竹市| 四子王旗| 静安区| 翼城县| 白沙| 屯昌县| 沁阳市| 乾安县| 且末县|