Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
jBPM6 Developer Guide

You're reading from   jBPM6 Developer Guide Learn about the components, tooling, and integration points that are part of the JBoss Business Process Management (BPM) framework

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher Packt
ISBN-13 9781783286614
Length 310 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (13) Chapters Close

Preface 1. Why Do We Need Business Process Management? FREE CHAPTER 2. BPM Systems' Structure 3. Using BPMN 2.0 to Model Business Scenarios 4. Understanding the KIE Workbench 5. Creating a Process Project in the KIE Workbench 6. Human Interactions 7. Defining Your Environment with the Runtime Manager 8. Implementing Persistence and Transactions 9. Integration with Other Knowledge Definitions 10. Integrating KIE Workbench with External Systems A. The UberFire Framework Index

Why do we need persistence and transactions?


So far, we've dealt with very short-lived processes. Running inside a JUnit test, process instances last very few milliseconds, and having them in memory is sufficient for those environments. However, in real-life situations, we don't usually create interactions between systems and humans without having long wait states in between. This is especially relevant for the case of processes with human tasks, where users backed up with too much work might have a pending task assigned to them for hours, days, or even more. For each of the processes in your environment, you should be able to determine whether it should be a persistent or a nonpersistent process depending on how long-lived each of its process instances will be. From this perspective, you will find these two top-level categories:

  • In-memory processes

  • Long running processes (also known as persistent processes)

In-memory processes are usually short-lived processes that perform entirely automatic...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image