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.
 

商品描述(中文翻譯)

學習並掌握 JSF 2.3 MVC 網頁框架的新功能,這本權威指南由兩位 JavaServer Faces (JSF) 規範主導者撰寫。作者通過實際示例帶領讀者了解這些新功能如何與 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 開發人員,他們需要建立網頁使用者介面。不需要事先了解 JSF,但本書偏向於有經驗的開發人員。假設讀者已經熟悉依賴注入和 MVC 的概念,並對 HTML、HTTP 和其他網頁標準有一般了解。