Free Sample
+ Collection

jBPM Developer Guide

Mauricio Salatino

A Java developer's guide to the jBOSS Business Process Management software
RRP $35.99
RRP $59.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847195685
Paperback372 pages

About This Book

  • Thoroughly understand how the jBPM framework works
  • Build custom Java Enterprise solutions using the jBPM framework
  • No experience with jBPM required
  • Helpful guidance on converting a business analyst's spec into complete, working software

Who This Book Is For

This book is mainly targeted at Java developers and Java architects who need to have a deep understanding of how frameworks behave in real-life implementations.

The book assumes that you know the Java Language well and also know some widely used frameworks such as Hibernate and Log4J. You should also know the basics of relational databases and the Eclipse IDE. A brief introduction to Maven2 is included in this book but extra experience might be needed for more advanced usages.

Table of Contents

Chapter 1: Why Developers Need BPM?
Business Process, why should I know about that?
Some buzzwords that we are going to hear when people talk about BPM
Business Process Management Systems (BPMS), my tool and your tool from now on
Chapter 2: jBPM for Developers
Graph Oriented Programming
Common development process
Decoupling processes from our applications
Graph Oriented Programming on top of OOP
Implementing Graph Oriented Programming on top of the Java language (finally Java code!)
Implementing our process definition
Testing our brand new classes
Process execution
Wait states versus automatic nodes
Creating a simple language
Nodes description
Homework solution
Quick start guide to building Maven projects
Chapter 3: Setting Up Our Tools
Background about the jBPM project
Tools and software
Starting with jBPM
jBPM structure
Building real world applications
Maven project
Chapter 4: jPDL Language
jPDL introduction
jPDL structure
Process structure
Nodes inside our processes
Base node
Node lifecycle (events)
Chapter 5: Getting Your Hands Dirty with jPDL
How is this example structured?
Key points that you need to remember
Analyzing business requirements
Describing how the job position is requested
Environment possibilities
Running the recruiting example
Chapter 6: Persistence
Why do we need persistence?
Chapter 7: Human Tasks
What is a task?
Task management module
Task node example
Practical example
Chapter 8: Persistence and Human Tasks in the Real World
Adding persistence configuration
Human tasks in our Recruiting Process
Chapter 9: Handling Information
Handling information in jBPM
Handling process variables through the API
How and where is all this contextual information stored?
Chapter 10: Going Deeply into the Advanced Features of jPDL
Why do we need more nodes?
Advanced configurations in jPDL
Chapter 11: Advanced Topics in Practice
Breaking our recruiting process into phases
Keeping our process goal focused with process state nodes
Asynchronous executions
Chapter 12: Going Enterprise
jBPM configurations for Java EE environments
JBoss Application Server data source configurations
JobExecutor service
Timers and reminders

What You Will Learn

  • Key concepts of Business Process Management to understand how the community leads and implements open source software
  • Gain deep understanding of JPDL, the preferred process language, to know how your processes must be defined and implemented
  • Convert your projects into fully featured applications with advanced jBPM features such as the persistence service and human task mechanism
  • Understand the framework's behavior in different environments
  • Create and configure Human Task activities to model situations where human beings interact with the process
  • Understand how the framework handles information that flows through your business process
  • Configure the persistence service to reduce risk and perform successful implementations with jBPM
  • Improve your process definitions using nodes
  • Configure the Eclipse IDE to start modeling your processes

In Detail

jBPM is an open source business process management (BPM) solution used for defining and executing business processes. Java developers can use jBPM to analyze, improve, and maintain their business processes. This book steers you through each point of the jBPM framework and its implementation to model your business processes.

The book starts by explaining the key concepts in a Business Process Management framework. It will help you to learn and practice all of the conceptual and theoretical terms used in the Business Process Management field. Then you will master jPDL, the preferred process language for jBMP, which will let you specify exactly how your processes must be defined and implemented.

From here on, the book takes a closer look at the engine, discussing a broad range of topics from building real business processes inside real applications to learning and implementing advanced capabilities of the jPDL and jBPM framework. It will also help you to handle vital information and tasks related to persistence, integrating jBPM with other enterprise systems, and deploying jBPM to existing J2EE application servers.

By the end of this book, you will gain all the experience required to implement solutions that use the framework as well as to make decisions about how the framework needs to be used in particular situations.


Read More