-
1. Re: Embedding in Play Framework
swiderski.maciej Jul 10, 2013 1:24 AM (in response to bsnl)1 of 1 people found this helpfulM D wrote:
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.
M D wrote:
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 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.
M D wrote:
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
-
2. Re: Embedding in Play Framework
bsnl Jul 14, 2013 12:03 AM (in response to swiderski.maciej)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 servlet (and breaks the whole EE paradigm) and prohibits one from using Java EE libraries that assume that a Java servlet will respond to requests (or depends on stuff like servletFilter, HttpSessionListener). I being new to both 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).
-
3. Re: Embedding in Play Framework
swiderski.maciej Jul 14, 2013 3:18 AM (in response to bsnl)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