JBoss Seam: Simplicity and Power Beyond Java EE
Product Author Bios
Michael Yuan is a product manager and technical evangelist at Red Hat Inc. working on Seam, JBoss Application Server, and other middleware products. He contributes code to the Seam project and writes about Seam in his blog (http://www.michaelyuan.com/blog/). Before joining JBoss, Michael was a software consultant for mobile end-to-end applications. He published three books on mobile technologies, including Enterprise J2ME and Nokia Smartphone Hacks.
After being a contributor to the pre-JBoss Portal project, Thomas Heute was hired by JBoss Inc. in 2004. He started as a software developer in the JBoss Portal team, and then became the colead of the JBoss Seam project in 2005, with the vision to bring EJB3 closer to JSF. At the end of 2006 Thomas came back to pursue his duty among the JBoss Portal team to work on various tasks.
A new edition of this title is available, ISBN-10: 0137129394 ISBN-13: 9780137129393
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 web 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 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
• 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://michaelyuan.com/seam/.
About This Book
About the Authors
Part I: Getting Started
Chapter 1: What Is Seam?
Chapter 2: Seam Hello World
Chapter 3: Recommended JSF Enhancements
Chapter 4: Rapid Application Development Tools
Part II: Stateful Applications Made Easy
Chapter 5: An Introduction to Stateful Framework
Chapter 6: A Simple Stateful Application
Chapter 7: Conversations
Chapter 8: Workspaces and Concurrent Conversations
Chapter 9: Transactions
Part III: Integrating Web and Data Components
Chapter 10: Validate Input Data
Chapter 11: Clickable Data Tables
Chapter 12: Bookmarkable Web Pages
Chapter 13: The Seam CRUD Application Framework
Chapter 14: Failing Gracefully
Part IV: AJAX Support
Chapter 15: Custom and AJAX UI Components
Chapter 16: Enabling AJAX for Existing Components
Part V: Business Processes and Rules
Chapter 18: Managing Business Processes
Chapter 19: Stateful Pageflows
Chapter 20: Rule-Based Security Framework
Part VI: Testing Seam Applications
Chapter 21: Unit Testing
Chapter 22: Integration Testing
Part VII: Production Deployment
Chapter 23: Java EE 5.0 Deployment
Chapter 24: Seam Without EJB3
Chapter 25: Tomcat Deployment
Chapter 26: Using a Production Database
Chapter 27: Performance Tuning and Clustering
Appendix A: Installing and Deploying JBoss AS
Appendix B: Using Example Applications as Templates
The author's web site is located at www.michaelyuan.com/seam/.
9 of 11 people found the following review helpful
concise code examples,
This review is from: JBoss Seam: Simplicity and Power Beyond Java EE (Paperback)Yuan and Heute offer the Java programmer a very tempting route away from using the standard Java Enterprise Edition. As they point out, EE version 5 is an uncomfortable mixture of EJBs and JSF. The EJBs exist on the server side and encapsulate business logic. While the JSF is used, also on the server side, as a model-view-controller framework for Web work. In general, separating the MVC from the business logic is correct. But if you have to code EJBs and JSF together, then things get awkward. Code gets verbose and hard to structure.
The book's alternative is Seam, which is meant to be a filler between EJBs and JSF. One nice aspect is that Seam is inherently stateful. For a Web user session, this is vital, and it's nice from the text to see state built into Seam, without you having to shoehorn it in.
Perhaps the most persuasive parts of the book are the code examples. Granted, the authors wrote these to be as concise and elegant as possible. But if you accept that... Read more
3 of 3 people found the following review helpful
EXCELLENT INTRODUCTION TO SEAM!,
This review is from: JBoss Seam: Simplicity and Power Beyond Java EE (Paperback)I needed to develop a project and fast. I purchased this book because I needed to get Seam up and running quickly. I found it very clearly written: with helpful examples and source code. It also provides a introduction to AJAX and has a few chapter on how to integrate AJAX with JSF and Seam. Very interesting! I recommend this book 100 percent!
1 of 1 people found the following review helpful
Excellent book on seam,
Amazon Verified Purchase(What's this?)
This review is from: JBoss Seam: Simplicity and Power Beyond Java EE (Paperback)Its a great book.. It difficult to learn Seam without this book.
It may be slightly dated, with Seam 2.0 coming out recently.
But per the author, there are not significant changes in the code
ie mainly config changes.
(eg they recommend JPA with tomcat instead of embedded server option
Seam(and specifically seam-gen) still has some significant bugs/issues
to iron out(but workaround exists).
› See all 12 customer reviews...
Table of Contents
About This Book xv
About the Authors xvi
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
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
Downloadable Sample Chapter
Book + eBook Bundle
Book Price $35.99
eBook Price $12.60
eBook formats included
This book includes free shipping!
This book includes free shipping!
Includes EPUB, MOBI, and PDF
About eBook Formats
This eBook includes the following formats, accessible from your Account page after purchase:
EPUBThe open industry format known for its reflowable content and usability on supported mobile devices.
MOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDFThe popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.