JBPM Workflow framework and Spring integration steps

Source: Internet
Author: User

1. Log out of your jbpm.cfg.xml file, import the required configuration files

<!--  write off this  <import resource= "Jbpm.tx.hibernate.cfg.xml"/>--  <!--Add this profile--  <import resource= "Jbpm.tx.spring.cfg.xml"/>

2. Import the configuration file in the Hibernate.cfg.xml file

<!--This is Jbmp profile and cannot be deleted! --<mapping resource= "Jbpm.repository.hbm.xml"/>     <mapping resource= "Jbpm.execution.hbm.xml"/>     <mapping resource= "Jbpm.history.hbm.xml"/>     <mapping resource= "Jbpm.task.hbm.xml"/>     < Mapping resource= "Jbpm.identity.hbm.xml"/>

3. Import the appropriate JAR package

3 x Jbmp.jar

Jta.jar

Mail.jar

4. Delete the EL expression-related configuration file in the Lib folder in Tomcat El-api.jar import your own el expression corresponding jar package 3

Juel-api.jar

Juel-engine.jar

Juel-imol.jar

5. Test the build environment for success

@Testpublic void Testjbmp () {processengine processengine= (processengine) Ac.getbean ("Processengine"); System.out.println (processengine);}

JBPM Workflow framework and Spring integration steps

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.