JBoss Seam: Simplicity and Power Beyond Java EE
Read an excerpt:
Chapter 8: Workspaces and Concurrent Conversations
Excerpt provided courtesy of Prentice-Hall PTR. Copyright ฉ Pearson Education, Prentice Hall PTR. Written permission from the publisher is required for any use of this material.
|
Be the First to Write a Review and tell the world about this title!People who purchase this book frequently purchase: - Enterprise JavaBeans 3.0, 5th Edition; Richard Monson-Haefel, et al, $29.95, 40% Off!
- Beginning JBoss Seam: From Novice to Professional; Joseph Nusairat, $24.50, 39% Off!
- Core JavaServer Faces, 2nd Edition; David Geary, et al, $34.95, 36% Off!
- Practical JBoss Seam Projects; Jim Farley, $24.50, 39% Off!
Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:
Discover JBoss Seam: the Unified Framework for
Simpler, More Powerful Web Development
JBoss Seam integrates EJB 3.0 and JSF components under
a unified framework that simplifies and accelerates Java EE 5Web development.
Now, JBoss Seam's project leader and technology evangelist take you inside
this powerful new technology, showing exactly how to put it to work.
Michael Yuan and Thomas Heute show how JBoss Seam
enables you to create Web applications that would have been difficult or
impossible with previous Java frameworks. Through hands-on examples and
a complete case study application, you'll learn how to leverage JBoss
Seam's breakthrough state management capabilities; integrate business
processes and rules; use AJAX with Seam; and deploy your application into
production, one step at a time. Coverage includes
ยท How JBoss Seam builds on - and goes
beyond - the Java EE 5 platform
ยท Using the "Stateful Framework": conversations,
workspaces, concurrent conversations, and transactions
ยท Integrating the Web and data components:
validation, clickable data tables, and bookmarkable Web pages
ยท Creating AJAX and custom UI components,
enabling AJAX for existing JSF components, and JavaScript integration via
Seam Remoting
ยท Managing business processes, defining
stateful pageflows, and implementing rule-based security
ยท Testing and optimizing JBoss Seam applications
ยท Deploying in diverse environments:
with Tomcat, with production databases, in clusters, without EJB 3, and
more
Download source code for this book's case study
application at http://www.michaelyuan.com/blog/seam-next-gen-web-framework/.
Table of Contents
About This Book xi
About the Authors xiii
Acknowledgments xv
Part I: Getting Started 1
Chapter 1: What Is Seam? 3
Chapter 2: Seam Hello World 11
Chapter 3: Recommended JSF Enhancements 31
Chapter 4: Rapid Application Development Tools
55
Part II: Stateful Applications Made Easy 75
Chapter 5: An Introduction to Stateful Framework 77
Chapter 6: A Simple Stateful Application 87
Chapter 7: Conversations 99
Chapter 8: Workspaces and Concurrent Conversations
117
Chapter 9: Transactions 127
Part III: Integrating Web and Data Components 135
Chapter 10: Validate Input Data 137
Chapter 11: Clickable Data Tables 149
Chapter 12: Bookmarkable Web Pages 157
Chapter 13: The Seam CRUD Application Framework 169
Chapter 14: Failing Gracefully 183
Part IV: AJAX Support 195
Chapter 15: Custom and AJAX UI Components 197
Chapter 16: Enabling AJAX for Existing Components
211
Chapter 17: Direct JavaScript Integration 225
Part V: Business Processes and Rules 243
Chapter 18: Managing Business Processes 245
Chapter 19: Stateful Pageflows 267
Chapter 20: Rule-Based Security Framework 277
Part VI: Testing Seam Applications 289
Chapter 21: Unit Testing 291
Chapter 22: Integration Testing 303
Part VII: Production Deployment 311
Chapter 23: Java EE 5.0 Deployment 313
Chapter 24: Seam Without EJB3 319
Chapter 25: Tomcat Deployment 333
Chapter 26: Using a Production Database 345
Chapter 27: Performance Tuning and Clustering 351
Appendix A: Installing and Deploying JBoss AS 365
Appendix B: Using Example Applications as Templates
371
Index 387
About the Authors
Michael Yuan is an author and developer with JBoss, Inc.
He is actively involved in developing and promoting a simplified application
development framework for JBoss users. Michael is the author of three books
and more than 40 articles. He has a PhD from the University of Texas at Austin.
Thomas Heute is the project leader at JBoss.org for Seam. After three years
of researching information repositories at the National Institute of Standards
and Technology (NIST), and then PDA security for the National Security Agency
(NSA), he became a contributor to the JBoss Portal project. He officially joined
JBoss in 2004 as JBoss Portal developer.
|