The Definitive Guide to JSF in Java EE 8: Building Web Applications with JavaServer Faces
暫譯: Java EE 8 中 JSF 的權威指南:使用 JavaServer Faces 建立網頁應用程式

Bauke Scholtz

  • 出版商: Apress
  • 出版日期: 2018-07-11
  • 定價: $1,986
  • 售價: 8.0$1,589
  • 語言: 英文
  • 頁數: 528
  • 裝訂: Paperback
  • ISBN: 1484233867
  • ISBN-13: 9781484233863
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

Learn and master the new features in the JSF 2.3 MVC web framework in this definitive guide written by two of the JavaServer Faces (JSF) specification leads. The authors take you through real-world examples that demonstrate how these new features are used with other APIs in Java EE 8. You’ll see the new and exciting ways JSF applications can use to communicate between a client and a server, such as using WebSockets, invoking bean methods directly from Ajax, executing client-side JavaScript when Ajax calls complete, and more
 
Along the way you’ll broaden your knowledge of JSF components and web APIs best practices, and learn a great deal about the internals of JSF and the design decisions that have been made when building the JSF API. For example, you’ll see what artefacts are now CDI injectable, how CDI changed JSF internally, and what some of the caveats are when working with the CDI versions of a JSF artefact.
 
Furthermore, you'll build an example application from scratch. After reading The Definitive Guide to JSF in Java EE 8, you'll be ready to build your own efficient and secure web applications.  
 
 
What You Will Learn
  • Leverage the new features in JSF 2.3 in your existing applications
  • Integrate JSF and CDI
  • Use the brand new Component Search Expression framework, which enables you to more easily locate components from your template
  • Extend the Component Search Expression framework with your own search operators
  • Work with the different ways of mapping requests to JSF, make your application use extensionless URLs, and programmatically inspect which resources are present in your application
  • Master the best practices for web application development and see which are obsolete
 
Who This Book Is For
 
Existing JSF or Java developers who need to create a web UI. No prior knowledge of JSF is required, but the book does skew towards the more experienced developer. Concepts such as dependency injection and MVC are assumed to be known, as is a general knowledge about HTML, HTTP and other web standards.
 

商品描述(中文翻譯)

學習並掌握這本由兩位 JavaServer Faces (JSF) 規範負責人撰寫的權威指南中的 JSF 2.3 MVC 網頁框架的新功能。作者將帶您通過實際案例,展示這些新功能如何與 Java EE 8 中的其他 API 一起使用。您將看到 JSF 應用程式在客戶端和伺服器之間進行通信的新穎方式,例如使用 WebSockets、直接從 Ajax 調用 bean 方法、在 Ajax 調用完成時執行客戶端 JavaScript 等等。

在這個過程中,您將擴展對 JSF 元件和網頁 API 最佳實踐的知識,並深入了解 JSF 的內部運作及在構建 JSF API 時所做的設計決策。例如,您將看到哪些物件現在可以被 CDI 注入,CDI 如何在內部改變 JSF,以及在使用 JSF 物件的 CDI 版本時的一些注意事項。

此外,您將從零開始構建一個示範應用程式。閱讀完《The Definitive Guide to JSF in Java EE 8》後,您將能夠構建自己的高效且安全的網頁應用程式。

您將學到的內容:
- 在現有應用程式中利用 JSF 2.3 的新功能
- 整合 JSF 和 CDI
- 使用全新的元件搜尋表達式框架,使您更輕鬆地從模板中定位元件
- 使用您自己的搜尋運算子擴展元件搜尋表達式框架
- 使用不同的方式將請求映射到 JSF,讓您的應用程式使用無擴展名的 URL,並以程式方式檢查應用程式中存在的資源
- 精通網頁應用程式開發的最佳實踐,並了解哪些已經過時

本書適合對象:
現有的 JSF 或 Java 開發人員,需要創建網頁 UI。無需具備 JSF 的先前知識,但本書偏向於較有經驗的開發人員。假設讀者已知曉依賴注入和 MVC 等概念,以及對 HTML、HTTP 和其他網頁標準的基本了解。