JavaServer Faces

Hans Bergsten

  • 出版商: O'Reilly
  • 出版日期: 2004-06-01
  • 售價: $1,870
  • 貴賓價: 9.5$1,777
  • 語言: 英文
  • 頁數: 624
  • 裝訂: Paperback
  • ISBN: 0596005393
  • ISBN-13: 9780596005399
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

JavaServer Faces, or JSF, brings a component-based model to web application development that's similar to the model that's been used in standalone GUI applications for years. The technology builds on the experience gained from Java Servlets, JavaServer Pages, and numerous commercial and open source web application frameworks that simplify the development process.In JavaServer Faces, developers learn how to use this new framework to build real-world web applications. The book contains everything you'll need: how to construct the HTML on the front end; how to create the user interface components that connect the front end to your business objects; how to write a back-end that's JSF-friendly; and how to create the deployment descriptors that tie everything together.JavaServer Faces pays particular attention to simple tasks that are easily ignored, but crucial to any real application: working with tablular data, for example, or enabling and disabling buttons. And this book doesn't hide from the trickier issues, like creating custom components or creating renderers for different presentation layers. Whether you're experienced with JSF or a just starting out, you'll find everything you need to know about this technology in this book.Topics covered include:

  • The JSF environment
  • Creating and rendering components
  • Validating input
  • Handling user-generated events
  • Controlling page navigation
  • Working with tabular data
  • Internationalization
  • Integration between JSF and Struts
  • Developing custom renderers and custom components
JavaServer Faces is a complete guide to the crucial new JSF technology. If you develop web applications, JSF belongs in your toolkit, and this book belongs in your library.

商品描述(中文翻譯)

JavaServer Faces,或稱為 JSF,為網頁應用程式開發帶來了一種基於元件的模型,這與多年來在獨立 GUI 應用程式中使用的模型相似。這項技術建立在 Java Servlets、JavaServer Pages 以及眾多商業和開源網頁應用程式框架所獲得的經驗之上,這些框架簡化了開發過程。在《JavaServer Faces》中,開發者將學習如何使用這個新框架來構建實際的網頁應用程式。這本書包含了你所需的一切:如何在前端構建 HTML;如何創建將前端與業務物件連接的使用者介面元件;如何撰寫一個對 JSF 友好的後端;以及如何創建將所有內容串聯在一起的部署描述符。《JavaServer Faces》特別關注那些容易被忽視但對任何實際應用程式至關重要的簡單任務,例如處理表格數據或啟用和禁用按鈕。而且這本書不會迴避更棘手的問題,例如創建自定義元件或為不同的呈現層創建渲染器。無論你是 JSF 的老手還是剛入門的新手,你都會在這本書中找到有關這項技術所需了解的一切。涵蓋的主題包括:

- JSF 環境
- 創建和渲染元件
- 驗證輸入
- 處理使用者生成的事件
- 控制頁面導航
- 處理表格數據
- 國際化
- JSF 與 Struts 的整合
- 開發自定義渲染器和自定義元件

《JavaServer Faces》是對這項關鍵新 JSF 技術的完整指南。如果你開發網頁應用程式,JSF 應該在你的工具箱中,而這本書則應該在你的書庫中。