BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Red Hat's jBPM5 Brings a New API, New Tooling and Support for BPMN 2.0

Red Hat's jBPM5 Brings a New API, New Tooling and Support for BPMN 2.0

This item in japanese

Bookmarks

Red Hat's JBoss division recently announced the latest release of their Business Process Management System jBPM 5.0. jBPM5 includes a completely revamped API, and adds a number of key features including support for the BPMN 2.0 specification, Eclipse tooling for developers, and web-based tooling for business users. InfoQ spoke to Kris Verlaenen, jBPM project lead, to find out more about the release.

InfoQ: When would you suggest an architect or developer chooses a product like jBPM over building their own state machine?

Projects that are starting to do BPM and only require some simple state machine might consider building their own implementation rather than (re)using an existing workflow engine (for example because they believe a workflow engine is too complex for what they need). The effort and cost of developing, supporting and maintaining a proprietary solution however is usually underestimated significantly. And what starts as a simple state machine usually requires more and more features over time (think about persistence, a process repository, graphical designers, etc.); features that are even more difficult to develop in-house.

jBPM however is built as a combination of modules, where the core engine itself is light-weight and can be embedded into any application. If requirements evolve over time, one can easily add more and more components to the architecture and start using the full potential of jBPM. Because jBPM5 is using the Apache Software License (ASL), you are allowed to use, distribute and modify it (even as part of proprietary software) and it uses standards whenever possible to facilitate integration and interoperability.

InfoQ: What is the relationship between Drools Flow and jBPM5? Have you merged the two projects?

jBPM5 is the merger of the jBPM project and Drools Flow. While Drools Flow started out a few years ago to prototype flexible and adaptive business processes with powerful integration with both business rules and complex event processing. It has proven that such features are not only possible but can bring great value in the long run to better manage the complexity of real-life use cases. This knowledge has been combined with the experience built up in jBPM over the last few years and has resulted in jBPM5. The vision of jBPM however hasn't changed, it has been extended. Drools Flow will no longer continue on its own; the latest version of Drools is already using jBPM5 for its process requirements.

InfoQ: What advantages does jBPM5 have over other products in the market place?

jBPM5 is definitely one of the most powerful and advanced open-source BPMN 2 engines out there. The core engine itself is lightweight, extensible and can be integrated as part of your application or deployed as a service. jBPM5 is also targeting both developers (with very powerful Eclipse plugins for graphical editing, testing and debugging) and business users (with web-based management and monitoring tools). Both developers and business users share the same language by making sure the business process uses higher-level, domain-specific concepts easily understood by the business user and by hiding or, even better, keeping implementation details out of the process itself.

jBPM5 is also not just an isolated process engine, but part of a much larger solution that integrates with your environment, your services. For handling the complexity of real-life problems, it allows dynamic adaptations and supports process flexibility. End users can define their business logic as a combination of business processes with business rules and complex event processing. jBPM5 uses standards whenever possible to facilitate integration and interoperability, like BPMN 2 but also WS-HT for human tasks, JPA and JTA for persistence and transactions, etc.

InfoQ: What are they key new features in this release?

The key feature of jBPM 5.0 is definitely the support for the latest BPMN 2.0 specification for modeling and executing business processes. This includes both Eclipse-based and web-based tooling, for developers and business users. jBPM 5.0 also introduces a new process repository, improved support for domain-specific processes (by plugging in your own node types in the palette) and major changes to the core engine to make it more flexible, adaptive and dynamic. Finally, new features like Business Activity Monitoring (BAM) capabilities, simulation, grid and OSGi support are being introduced.

InfoQ: What prompted the decision to change the API in version 5? What are the advantages of the new API?

Early versions of jBPM didn't make a clean distinction between what classes the end user was supposed to be using and what was considered implementation. Having a set of clean and stable interfaces that clearly shows how the programmer should communicate with the engine and that shields implementation details is very important. jBPM5 also uses what we call a knowledge API. We have aligned the APIs for managing business processes, business rules and complex event processing, so that the learning curve becomes much smaller once you know one of these technologies already. And this allows us not only to share the API but also a lot of features and tooling, like a web-based management console, debugging, persistence, knowledge repository, etc.

InfoQ: Are the existing capabilities - for example Spring support - still included?

Yes, we definitely try to move forward. When merging two projects, it's always difficult to make sure you're not missing anything, but we believe we have been able to include all major features. And even with jBPM 5.0 out there, we're still working hard to improve what we have now. We are for example still working on improving and extending the jBPM5 documentation to include some (missing) pieces like for example Spring or OSGi support, etc.

InfoQ: Work flow seems to be rather fragmented with a number of different mark-up/definition languages in play. jBPM5 supports BPMN 2 as well as its own, proprietary jPDL to BPMN2. What advantages does using BPMN have over jPDL?

jBPM5 focuses on BPMN 2 as the process definition language. As a contributing member to the BPMN 2.0 specification, we believe that using this standard (as opposed to for example using the proprietary jPDL format) will only bring you advantages in the long run. BPMN 2 standardizes the visual representation of business processes as well as their underlying XML representation, significantly improving the interoperability between modeling tools (as for example our web-based and Eclipse-based designers). The BPMN 2 standard is solid and extensible, so that new elements and attributes can be introduced when necessary (although we try to only use this when absolutely necessary). In jBPM5, you can already model more using BPMN 2 than you ever could with jPDL for example, and at a higher level. As a result, jBPM5 does no longer support the direct execution of jPDL, although a migration from jPDL to BPMN 2 is being developed. 

InfoQ: What other languages can I use for describing work flows? Is BPEL supported for instance?

The core engine itself uses a Java POJO model to represent processes and thus is agnostic of the description format (one can even use a fluent API to create processes in Java). We however focus on BPMN 2 as the process definition language using XML. The generic process engine (also known as PVM) could be extended to support additional formats, although we currently have no concrete plans to add support for additional languages at this point. Other languages with a known mapping to BPMN 2.0, like for example XPDL, and possibly even (a subset of) BPEL in the future, could be migrated. The jBPM5 API however also allows you to plug in your own implementation for different types of business processes. A prototype has shown for example that both BPMN 2 and BPEL processes could be executed and managed using the same API (and tools), even though internally the execution of the BPEL processes was delegated to the JBoss RiftSaw project, which support native BPEL execution.

InfoQ: Where is the best place to start learning about jBPM?

The best place to get started if you want to get some hands-on experience is probably the jbpm-installer (download file). This will download and install all the necessary components for you and run you through the different tools using a simple example. Or you could also start by browsing the different chapters in the jBPM5 documentation, read the latest blogs or watch one of the recorded webinars. The jBPM homepage is probably a good place to find links to all different kinds of information and communication channels out there. 

InfoQ: What are your future plans for the project?

We are using a 3-month release schedule, meaning that jBPM 5.1 is targeted early May, etc. For jBPM 5.1, we are planning a new Eclipse-based BPMN 2 editor (that fully supports the BPMN 2 terminology using the latest technology), improved web services support, a repository of domain-specific nodes or connectors (to connect to existing systems and services), and extensions in the area of Business Activity Monitoring (BAM). And we welcome any community contribution of course, eg documentation improvements, small code improvements, or even completely new features. 

 

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • sth to learn it

    by hbdrawn hbdrawn,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    i have a plan to learn it

  • Re: sth to learn it

    by Hieu Lam Tri,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    As far a I know, we have already had Activiti as a super deluxe workflow engine for Java. So how jBPM compared with Activiti? I have read the entire interview but don't find the comparison between the two. Is that sensitive matter :>? But to me as a developer experience with both Documentum and Filenet I'm really looking forward to see opensource alternative for those proprietary product. We have BPMN2.0 standard and now have two different implementation, which one should I choose ? To me, I prefer convergence over fork, less thing to learn. However, thank you so much for the info and really good interview

  • Re: sth to learn it

    by Jerome ROBERT,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    You forgot "Bonitasoft BOS 5.4" which also support BPMN2.0 and is a really good and mature product with a "rock solid" engine.

  • Re: sth to learn it

    by Sanjay Garde,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I think duplication of workflow projects within the same group was the very reason why Activiti was started.

  • Re: sth to learn it

    by Kris Verlaenen,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    We think that jBPM5 has some features that makes it unique compared to other open-source engines like Activiti(*) and BonitaSoft:

    1) First of all, we are not just an isolated process engine that you need to integrate in your application. While integrating an embedded process engine in your application is still a valid use case, we believe that BPM in the future will require the process engine to be integrated with your environment, the services and other paradigms like business rules and complex event processing to be able to model and execute real-life complex problems.

    2) jBPM5 is probably the most advanced open-source BPMN 2.0 engine out there, offering support for a significant subset of the specification already (and because it is based on the concept of a generic process engine (PVM) it can easily be extended as well)

    3) jBPM5 includes new advanced changes to the underlying core engine to support much more advanced, dynamic and adaptive processes. It's time to update the underlying workflow technology (which has been around since the 1980s) to support unstructured processes and dynamic changes.

    4) A strong focus on standards whenever possible, not just BPMN 2.0 for process definitions but also WS-HumanTask for human tasks, JPA and JTA for persistence and transactions, etc. This greatly improves the integration, interoperability and portability capabilties.

    5) jBPM5 targets not just developers but also business users (business analysts and end users), by making sure they share the same language. We will help you make sure your business processes are high-level (no implementation details) and domain-specific (using concepts business users understand), making them much more understandable for business users. Various web-based tools also allow the business users to participate in the process modeling, execution and monitoring.

    6) for developers, the Eclipse plugin that is provided is one of the most advanced out there, supporting real-time debugging and testing and much more

    (*) @Sanjay: I can't say the very reason why Activiti was started (you would have to ask them), but Activiti was started after the decision was already made to merge both jBPM and Drools Flow projects for the new jBPM5 release, so the best of both could be combined

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT