JBPM using configuration (Spring+hibernate+maven project Environment)

Source: Internet
Author: User
Tags jbpm


Maven Dependency Name Package

                <dependency ><groupId>org.jbpm.jbpm4</groupId><artifactId>jbpm-api</artifactId><version> 4.4</version></dependency><dependency><groupid>org.jbpm.jbpm4</groupid>< Artifactid>jbpm-jpdl</artifactid><version>4.4</version><exclusions><exclusion ><groupId>juel</groupId><artifactId>juel-engine</artifactId></exclusion>< Exclusion><groupid>juel</groupid><artifactid>juel-impl</artifactid></exclusion ><exclusion><groupid>juel</groupid><artifactid>juel</artifactid></ Exclusion></exclusions></dependency><dependency><groupid>org.jbpm.jbpm4</groupid ><artifactId>jbpm-pvm</artifactId><version>4.4</version><exclusions>< Exclusion><groupid>juel</groupid><artifactid>juel-engine</artifactid></exclusion><exclusion><groupid >juel</groupId><artifactId>juel-impl</artifactId></exclusion><exclusion>< Groupid>juel</groupid><artifactid>juel</artifactid></exclusion></exclusions> </dependency><dependency><groupid>org.jbpm.jbpm4</groupid><artifactid>jbpm-bpmn </artifactid><version>4.4</version><exclusions><exclusion><groupid>juel </groupid><artifactid>juel-engine</artifactid></exclusion><exclusion><groupid >juel</groupId><artifactId>juel-impl</artifactId></exclusion><exclusion>< Groupid>juel</groupid><artifactid>juel</artifactid></exclusion></exclusions> </dependency><dependency><groupid>org.jbpm.jbpm4</groupid><artifactid>jbpm-log </artifactId><version>4.4</version><exclusions><exclusion><groupid>juel</groupid>< Artifactid>juel-engine</artifactid></exclusion><exclusion><groupid>juel</groupid ><artifactid>juel-impl</artifactid></exclusion><exclusion><groupid>juel</ Groupid><artifactid>juel</artifactid></exclusion></exclusions></dependency> <dependency><groupId>org.jbpm.jbpm4</groupId><artifactId>jbpm-db</artifactId> <version>4.4</version><exclusions><exclusion><groupId>juel</groupId>< Artifactid>juel-engine</artifactid></exclusion><exclusion><groupid>juel</groupid ><artifactid>juel-impl</artifactid></exclusion><exclusion><groupid>juel</ Groupid><artifactid>juel</artifactid></exclusion><exclusion><groupid>hsqldb </groupid><artifacTid>hsqldb</artifactid></exclusion></exclusions></dependency> 


Spring container configuration file (applicationcontext.xml) jbpm section

        <!-- jbpm configuration  --><bean id= "Springhelper"  class= "Org.jbpm.pvm.internal.processengine.SpringHelper" lazy-init= "Default"  autowire= "Default" > <property name= "Jbpmcfg" ><value>jbpm.cfg.xml</value></property></bean>< Bean id= "Processengine"  factory-method= "Createprocessengine" factory-bean= "SpringHelper"  /> <bean id= "Repositoryservice"  factory-bean= "Processengine" factory-method= "GetRepositoryService"  /><bean id= "Executionservice"  factory-bean= "Processengine" factory-method= " Getexecutionservice " /><bean id=" Historyservice " factory-bean=" ProcessEngine " Factory-method= "Gethistoryservice"  /><bean id= "Managementservice"  factory-bean= " Processengine "factory-method=" Getmanagementservice " /><bean id=" TaskService " factory-bean = "Processengine" factory-method= "Gettaskservice"  /><bean id= "Identityservice"  factory-bean= "Processengine" factory-method= "GetIdentityService"  />


JBPM Configuration (Jbpm.cfg.xml)

<?xml version= "1.0"  encoding= "UTF-8"? ><jbpm-configuration>   <import  resource= "Jbpm.default.cfg.xml"  />  <import resource= " Jbpm.businesscalendar.cfg.xml " />  <import resource=" Jbpm.tx.hibernate.cfg.xml "  />  <import resource= "Jbpm.jpdl.cfg.xml"  />  <import  Resource= "Jbpm.bpmn.cfg.xml"  />  <import resource= "Jbpm.identity.cfg.xml"  />   <import resource= "Jbpmpackage/leave.jpdl.xml" ></import>  <!--  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"  />&Nbsp; --></jbpm-configuration> 


JBPM using configuration (Spring+hibernate+maven project Environment)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.