[jboss-user] [jBPM] - New to JBPM5, trying to integrate with web application

Michal Kowalski do-not-reply at jboss.com
Tue Nov 15 04:31:54 EST 2011


Michal Kowalski [http://community.jboss.org/people/rufjan] created the discussion

"New to JBPM5, trying to integrate with web application"

To view the discussion, visit: http://community.jboss.org/message/636561#636561

--------------------------------------------------------------
Hi all, I'm new to JBPM5 and I would like to create a sample web application which will allow to invoke tasks in my simple process.
For the presentation layer I would like to use simple forms in Struts. The question is how to integrate them with jbpm?

As I understand jbpm, first thing I should do is to create my process using BPMN eclipse plugin - I think I can make it. Then as an output I will have my xml file representing process. The next step is to create KnowledgeBase in web application.
* Should I create KnowledgeBase as a singleton that will be available from every Action/Servlet? I think that creating KnowledgeBase is time consuming so there should be only one instance. What Action/Servlet does, is only creating StatefulKnowledgeSession per action request and then manipulation process using session. Am I right?

But there is one more question. 
* I see that jbpm comes with admin console which helps in process maintenance. How should I make it available when integrating with struts web app? This feature is nice to have  :) .

Is my approach right? Or I should create standalone jbpm sever somehow?

Thank you for any information!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/636561#636561]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111115/81a6d705/attachment.html 


More information about the jboss-user mailing list