JBoss Seam: Simplicity and Power Beyond Java EE (Paperback)

Michael Yuan, Thomas Heute

買這商品的人也買了...

商品描述

Description:

 

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

• 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://michaelyuan.com/seam/.

 

Table of contents:

 

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