JBoss Seam: Simplicity and Power Beyond Java EE (Paperback)
暫譯: JBoss Seam:超越 Java EE 的簡單與強大

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

商品描述(中文翻譯)

**描述:**
探索 JBoss Seam:簡化且更強大的網頁開發統一框架

JBoss Seam 將 EJB 3.0 和 JSF 元件整合在一個統一的框架下,簡化並加速 Java EE 網頁開發。現在,JBoss Seam 的專案負責人和技術推廣者將帶您深入了解這項強大的新技術,展示如何將其付諸實行。

Michael Yuan 和 Thomas Heute 展示了 JBoss Seam 如何使您能夠創建在以往 Java 框架中難以或不可能實現的網頁應用程式。透過實作範例和完整的案例研究應用程式,您將學會如何利用 JBoss Seam 的突破性狀態管理能力;整合業務流程和規則;使用 AJAX 與 Seam;以及逐步將您的應用程式部署到生產環境中。內容涵蓋:

- JBoss Seam 如何建立在 Java EE 平台之上並超越它
- 使用「有狀態框架」:對話、工作區、並行對話和交易
- 整合網頁和數據元件:驗證、可點擊的數據表和可書籤的網頁
- 創建 AJAX 和自定義 UI 元件,為現有 JSF 元件啟用 AJAX,並透過 Seam Remoting 進行 JavaScript 整合
- 管理業務流程,定義有狀態的頁面流程,並實施基於規則的安全性
- 測試和優化 JBoss Seam 應用程式
- 在多樣化環境中部署:使用 Tomcat、使用生產數據庫、在叢集上、無需 EJB 3 等等

*下載本書案例研究應用程式的源代碼,請訪問* [http://michaelyuan.com/seam/](http://michaelyuan.com/seam/)

**目錄:**
**第一部分:入門 1**
第 1 章:什麼是 Seam? 3
第 2 章:Seam Hello World 11
第 3 章:推薦的 JSF 增強功能 31
第 4 章:快速應用程式開發工具 55

**第二部分:簡化有狀態應用程式 75**
第 5 章:有狀態框架介紹 77
第 6 章:簡單的有狀態應用程式 87
第 7 章:對話 99
第 8 章:工作區和並行對話 117
第 9 章:交易 127

**第三部分:整合網頁和數據元件 135**
第 10 章:驗證輸入數據 137
第 11 章:可點擊的數據表 149
第 12 章:可書籤的網頁 157
第 13 章:Seam CRUD 應用程式框架 169
第 14 章:優雅失敗 183

**第四部分:AJAX 支援 195**
第 15 章:自定義和 AJAX UI 元件 197
第 16 章:為現有元件啟用 AJAX 211
第 17 章:直接 JavaScript 整合 225

**第五部分:業務流程和規則 243**
第 18 章:管理業務流程 245
第 19 章:有狀態的頁面流程 267
第 20 章:基於規則的安全框架 277

**第六部分:測試 Seam 應用程式 289**
第 21 章:單元測試 291
第 22 章:整合測試 303

**第七部分:生產部署 311**
第 23 章:Java EE 5.0 部署 313
第 24 章:無需 EJB3 的 Seam 319
第 25 章:Tomcat 部署 333
第 26 章:使用生產數據庫 345
第 27 章:性能調優和叢集 351

附錄 A:安裝和部署 JBoss AS 365
附錄 B:使用範例應用程式作為模板 371
索引 387