Google Guice: Agile Lightweight Dependency Injection Framework

Robbie Vanbrabant

  • 出版商: Apress
  • 出版日期: 2008-04-24
  • 售價: $1,770
  • 貴賓價: 9.5$1,682
  • 語言: 英文
  • 頁數: 192
  • 裝訂: Paperback
  • ISBN: 1590599977
  • ISBN-13: 9781590599976
  • 相關分類: Agile Software
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Guice (pronounced "Juice") is the 100% Java icing on the cake of Java dependency injection. Unlike other popular DI frameworks such as Spring, Guice fully embraces modern Java language features and combines simplicity with stunning performance and developer-friendliness.

Google Guice: Agile Lightweight Dependency Injection Framework will not only tell you "how," it will also tell you "why" and "why not," so that all the knowledge you gain will be as widely applicable as possible. Filled with examples and background information, this book is an invaluable addition to your knowledge of modern agile Java.

  • Learn simple annotation-driven dependency injection, scoping and AOP, and why it all works the way it works.
  • Be the first to familiarize yourself with concepts that are likely to be included in a future Java EE or SE release (through JSR 299).
  • Get things done without having to write any XML.
What you'll learn
  • Find out why dependency injection frameworks solve your problems, and how Guice fills that gap.
  • What Guice can do, can't do and how to apply that knowledge.
  • How Guice compares to popular alternatives like the Spring Framework.
  • What the future has in store, including Guice IDE, the next Guice version and the standardization of Guice's concepts through JSR 299.
  • How you can build real world, Guice-powered web applications using popular frameworks like Wicket or Struts 2.
  • How to develop a full stack Guice / Struts 2 / Hibernate application.
  • What you can really do with modern Java.
Who is this book for?

This book is for professional Java developers who are interested in dependency injection, modern Java coding practices and who want to tackle complexity with a simple, powerful and high-quality solution that already powers one of Google's highest profile applications: AdWords. This may be an alternative to Spring for many.

商品描述(中文翻譯)

Guice(發音為「Juice」)是 Java 依賴注入的 100% Java 裝飾。與其他流行的 DI 框架如 Spring 不同,Guice 完全擁抱現代 Java 語言特性,並將簡單性與驚人的性能和開發者友好性結合在一起。

《Google Guice: Agile Lightweight Dependency Injection Framework》不僅會告訴你「如何」,還會告訴你「為什麼」和「為什麼不」,讓你所獲得的知識能夠廣泛應用。本書充滿了範例和背景資訊,是你對現代敏捷 Java 知識的寶貴補充。

你將學到:
- 瞭解簡單的註解驅動依賴注入、範圍和 AOP,以及為什麼它們以這種方式運作。
- 成為第一個熟悉未來 Java EE 或 SE 版本中可能包含的概念的人(透過 JSR 299)。
- 在不需要撰寫任何 XML 的情況下完成任務。

你將學到的內容:
- 瞭解為什麼依賴注入框架能解決你的問題,以及 Guice 如何填補這一空白。
- Guice 能做什麼、不能做什麼,以及如何應用這些知識。
- Guice 與流行替代方案如 Spring Framework 的比較。
- 未來的展望,包括 Guice IDE、下一個 Guice 版本以及透過 JSR 299 標準化 Guice 概念。
- 如何使用流行框架如 Wicket 或 Struts 2 建立真實世界的 Guice 驅動的網頁應用程式。
- 如何開發一個完整的 Guice / Struts 2 / Hibernate 應用程式。
- 你可以用現代 Java 實現什麼。

這本書適合誰?
這本書適合對依賴注入、現代 Java 編碼實踐感興趣的專業 Java 開發者,並希望以簡單、強大且高品質的解決方案來應對複雜性,而這種解決方案已經驅動了 Google 最高知名度的應用程式之一:AdWords。對許多人來說,這可能是 Spring 的替代方案。