Discussion:
[jboss-user] [jBPM] - Embedding in Play Framework
M D
2013-07-05 03:42:35 UTC
Permalink
M D [https://community.jboss.org/people/bsnl] created the discussion

"Embedding in Play Framework"

To view the discussion, visit: https://community.jboss.org/message/826505#826505

--------------------------------------------------------------
I am at a point where I need to decide between jBPM5 and Activiti and for all different reasons till now I am leaning towards jbpm but to seal the decision I want to know few things, if any of the users may please help with
1) Has anyone tried integrating JBPM5 with the Java/Scala based Play Framework. Please point me to documentation, if any, that can get me started.
2) Does jBPM5 has (web-based) reporting capabilities like Activiti (http://www.jorambarrez.be/blog/2013/03/22/reporting-capabilities-in-activiti-5-12/)
(or in general does jBPM5's web console offer all the stuff that Activiti Explorer offers)
3) How is 'authorization' handled in jBPM5? (Is there a way to create Groups and do some LDAP integration etc.)?

Thank you for reading all the above questions
I would appreciate if someone can answer too...
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-07-10 05:25:06 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Embedding in Play Framework"

To view the discussion, visit: https://community.jboss.org/message/827216#827216

--------------------------------------------------------------
Post by M D
1) Has anyone tried integrating JBPM5 with the Java/Scala based Play Framework. Please point me to documentation, if any, that can get me started.
Since it's Java based then there are no special things to do, it will be exactly the same way it can be integrated with any other java based solution. Alternatively you can consider to use jBPM as a service and access its capabilities via REST/JMS interface.
Post by M D
2) Does jBPM5 has (web-based) reporting capabilities like Activiti (http://www.jorambarrez.be/blog/2013/03/22/reporting-capabilities-in-activiti-5-12/)
(or in general does jBPM5's web console offer all the stuff that Activiti Explorer offers)
Reporting capabilities are available in jBPM. In version 5.x they are based on Eclipse BIRT and provides only basic reports out of the box. In version 6 there is state of the art BAM component integrated with jBPM that provides huge amount of reporting and monitoring capabilities, take a look http://vimeo.com/57973815 here for bit of preview. Please not that the video is slightly outdated but it should give yousome context of what's comming.
Unfortunately I don't know enough about Actitii Explorer to judge but most likely jBPM covers what is important from process managment point of view (process and tasks operations). See on the video some capabilities of the console too, just make a note that it has been enhanced a lot since that time.
Post by M D
3) How is 'authorization' handled in jBPM5? (Is there a way to create Groups and do some LDAP integration etc.)?
Yes, integration with LDAP is possible out of the box. Usual case is when the jBPM runs inside the container (e.g. JBoss Application Server) and then you can laverage the power of the JAAS system. Configure the authentication and authorization on application server and jBPM will rely on that regardless if that is based on LDAP or DB or whatever else.

HTH
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
M D
2013-07-14 02:39:54 UTC
Permalink
M D [https://community.jboss.org/people/bsnl] created the discussion

"Re: Embedding in Play Framework"

To view the discussion, visit: https://community.jboss.org/message/827862#827862

--------------------------------------------------------------
Excellent, Thank you for taking time to reply.
You are right in saying that the integration should be same as it would be with any other Java based solution. I was concerned because Play is a little different as it's *not* based on selrvlet (and breaks the whole EE paradigm) and prohibs one from using Java EE libraries that assume that a Java servlet will respond to requests (or any other stuff like servletFilter, HttpSessionListener). I being new to noth Java and jBPM wasn't sure if that would have any impact in integrating jBPM with Play. (I hope your reply still applies, in light of this information).
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-07-14 07:19:09 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Embedding in Play Framework"

To view the discussion, visit: https://community.jboss.org/message/827864#827864

--------------------------------------------------------------
Yes, that still applies. The core engine and human task service does not have dependencies to servlets at all. The tooling that comes with jBPM out of the box is based on JEE but that does not enforce you to use it. If you have another framework that you would like to use you can embed the engine and human task service within it and provide your own way of invoking the operations on it/ That is completely valid case.

HTH
--------------------------------------------------------------

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

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