19. Stateful Pageflows

In Chapter 18, Managing Business Processes, you saw that Seam does an excellent job of integrating business processes into web applications. The user can create, assign, switch, and end tasks via regular web actions (i.e., button clicks, page loads), and Seam automatically loads all the process-scoped data for the current task. In addition to application-level integration with jBPM, Seam deeply integrates business processes into the framework itself. One of the most useful use cases for jBPM in Seam is to use business processes to manage the pageflows of the web application.

In a standard JSF application, the page-navigation rules are defined in the navigation.xml or faces-config.xml files. You can reference those rules ...

Get JBoss® Seam: Simplicity and Power Beyond Java™ EE now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.