Git Product home page Git Product logo

jbpm6's Introduction

Embedding jBPM 6 into a Java EE application

Official documentation : http://docs.jboss.org/jbpm/v6.2/userguide/
Used http://docs.jboss.org/jbpm/v6.2/userguide/jBPMIntegration.html to do this template


About : - jBPM 6.2.0.Final : workflow engine - Java EE 6.0 environment - JBoss AS 7.1.1 - JPA 2.0 (jBPM dependency for persistence) - CDI 1.0 (Container environment for jBPM integration with CDI) - JTA 1.1 (Container environment for jBPM transactions) - H2 database (embedded in container) - Hibernate 4.0.1.Final (jBPM/Container dependency)

Build & Deployment & Run :

  • This application is a webapp. Build it with Maven.
  • Declaring datasource in JBoss AS : add datasource in $JBOSS_HOME/standalone/configuration/standalone.xml from jbpm6/container/standalone.xml (or using default java:jboss/datasources/ExampleDS)
  • mvn clean install
  • Drop war in container
  • Start container
  • Go to http://localhost:8080/jbpm6-web and follow the instructions

/!\ Important notes /!\

  • jBPM editor is not enough to create BPMN 2.0 processes (Does not provide all BPMN2 activities). Use http://www.eclipse.org/bpmn2-modeler/
  • Look in the code of Handler (e.g. ServiceTaskHandler, ReceiveTaskHandler) for modelisation or develop your own handlers
  • Knowledge session execute command is synchronized
  • Custom UserGroupCallback. Validates user and groups and is declared in RuntimeEnvironment.
  • Use ProcessManagerBean (custom singleton EJB) and only this class to manage runtime and processes. Implement all calls to jBPM API here (for transactions).
  • This example does not check if jBPM processes restart if server restarts
  • Using kjars to deploy processes. Modular architecture. Kjars are automatically scanned by Drools when embedded in war.

Useful links :

jbpm6's People

Watchers

James Cloos avatar xiaoping wu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.