<b>JBPM 4.0操纵问题 -- 3:也谈 JBPM 4 整合Spring..</b>[Java编程]
本文“<b>JBPM 4.0操纵问题 -- 3:也谈 JBPM 4 整合Spring..</b>[Java编程]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
前段时间对 JBPM 4.0 Spring 2.6 举行了整合
办法有几种,经过对比感受原生集成较好~
整合后的构造:
src\resources
src\resources\jbpm
src\resources\jbpm\jbpm.cfg.xml
src\resources\jbpm\jbpm.default.cfg.xml
src\resources\jbpm\jbpm.tx.hibernate.cfg.xml
src\resources\jbpm\jbpm.mail.properties
src\resources\jbpm\jbpm.mail.templates.examples.xml
src\resources\jbpm\logging.properties
src\resources\spring\applicationContext-jbpm.xml
src\resources\spring\applicationContext-hibernate.xml
重点是5个标色文件
jbpm.cfg.xml
<?xml version="1.0" encoding="UTF-8"?>
<jbpm-configuration>
<import resource="jbpm/jbpm.default.cfg.xml" />
<import resource="jbpm/jbpm.tx.hibernate.cfg.xml" />
<import resource="jbpm.jpdl.cfg.xml" />
<import resource="jbpm.identity.cfg.xml" />
<!-- Job executor is excluded for running the example test cases. -->
<!-- To enable timers and messages in production use, this should be included. -->
<!--
<import resource="jbpm.jobexecutor.cfg.xml" />
-->
<import resource="jbpm/jbpm.mail.templates.examples.xml" />
<process-engine-context>
<command-service>
<retry-interceptor />
<environment-interceptor />
<spring-transaction-interceptor />
</command-service>
</process-engine-context>
<transaction-context>
<transaction />
<hibernate-session />
</transaction-context>
</jbpm-configuration>
以上是“<b>JBPM 4.0操纵问题 -- 3:也谈 JBPM 4 整合Spring..</b>[Java编程]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
本文地址: | 与您的QQ/BBS好友分享! |