World Library  
Flag as Inappropriate
Email this Article

Google Guice

 

Google Guice

Google Guice
Developer(s) Google
Stable release 3.0.0 / March 24, 2011 (2011-03-24)
Development status Active
Written in Java
Operating system Cross-platform
Type dependency injection framework
License Apache License 2.0
Website /guice/google.comgithub

Google Guice (pronounced "juice")[1] is an open source software framework for the Java platform released by Google under the Apache License. It provides support for dependency injection using annotations to configure Java objects.[2] Dependency injection is a design pattern whose core principle is to separate behavior from dependency resolution.

Guice allows implementation classes to be bound programmatically to an interface, then injected into constructors, methods or fields using an @Inject annotation. When more than one implementation of the same interface is needed, the user can create custom annotations that identify an implementation, then use that annotation when injecting it.

Being the first generic framework for dependency injection using Java annotations in 2008, Guice won the 18th Jolt Award for best Library, Framework, or Component.[2][3]

Contents

  • See also 1
  • References 2
  • Further reading 3
  • External links 4

See also

References

  1. ^ google-guice - Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 5 and above, brought to you by Google. - Google Project Hosting. Code.google.com (2007-03-23). Retrieved on 2013-11-24.
  2. ^ a b Guice (Google), Reviewed by Michael Yuan, retrieved 2010-04-09.
  3. ^ 18th Annual Jolt Award winners

Further reading

  • Vanbrabant, Robbie (April 21, 2008), Google Guice: Agile Lightweight Dependency Injection Framework (1st ed.),  

External links

  • Extensions for Google Guice
  • Warp Extensions for Google Guice
  • Big Modular Java with Guice
  • Guice and @Inject - Stuart McCulloch
  • Guice for Scala
  • RoboGuice - Google Guice on Android
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 



Copyright © World Library Foundation. All rights reserved. eBooks from World Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.