Spring 3.1 and jBPM 5.2 (+ JSF2 / Richfaces4) integration

I have a project that uses Spring3.1, Hibernate3.5 / JPA2, JSF2 / Richfaces4.1 and Java EE Security. Now I want to integrate jBPM 5.2.

Are there any examples of jBPM5-Spring3 integration available? Has anyone done this successfully? Should I look at another BPM / workflow mechanism, maybe jBPM was a bad idea? (All the examples I found refer to older versions of Spring and / or jBPM.)

I hope there will be some simple Spring configurations (and possibly additional banks) for this.

+4
source share
2 answers

I have been working on a project with spring3 and jBPM 5 for the last two years, it takes 2 months to create a simple project with jBPM without spring and other technologies. It seems that you do not have enough knowledge about jBPM, it is not just simple jar files to add to your project, it has a database and tables, and if you want to use Drools in your project, it is more complicated. I suggest you use the Facade template to create a class that initializes your knowledge base and rules. You must write custom sites and services on demand. It depends on your project deadline. jBPM is too flexible and, of course, difficult to maintain because you have to configure it as you wish, but these clients prefer it because it is just interesting and flexible! and by the way, I think jboss documents are the best for jBPM; -)

0
source

If you are still looking for Spring + jBPM5 integration. I found a sample (web-example.rar.zip) in the following discussion that works. It is based on the well-known performance evaluation model.

https://community.jboss.org/message/725143#725143#725143

To do this, you need to install and run jBPM5 successfully. It uses REST service calls on the jbpm console, which is part of the jBPM installation. In addition, I had to change the application to a group task list for users mary and john and subsequently require a task from the group task list.

You can also take a look at Activiti, which is basically jBPM4. It is better than Spring Integration (CDI, Spring Managed Transactions, etc.), From what I understand. Hope this helps.

0
source

Source: https://habr.com/ru/post/1395649/


All Articles