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)