Robbie Vanbrabant
Google
Guice
Agile Lightweight Dependency
Injection Framework
EMPOWERING PRODUCTIVITY FOR THE JAVA
™
DEVELOPER
Google Guice: Agile Lightweight
Dependency Injection Framework
Dear Reader,
This book welcomes you to the world of Google Guice (pronounced “juice”), the latest
and greatest dependency injection framework that fully exploits all modern Java
™
features. One step at a time, this book will help turn any XML-spitting programmer
into a true Guice master, or a “Bob,” as I like to say.
I’m particularly proud of this book’s coverage. To make sure that nobody gets left
behind, I start out with an introduction to dependency injection concepts. From
there, you will learn how Guice makes your life easier, and you’ll gradually become a
Guice expert. Beyond that, I also devoted two chapters to web application development
with Struts 2 and Wicket, including content on how to organize your application and
how to use Warp Persist, a popular Guice extension, to access your data using the Java
Persistence API and Hibernate.
Writing this book was not an easy task, so in addition to Apress, I’d like to thank
some people in particular. First, I would like to thank Dhanji R. Prasanna for referring me
to Apress to write this book. He has also done a fantastic job as my technical reviewer.
I’d also like to thank Bob Lee, the inventor of Guice, who kindly answered all of my
questions and inspired much of the content in Chapter 8. Finally, a big thank you goes
out to my friends, my parents, my brother, and anyone who believes in me; you are
the people who put the smile on my face.
Now, put on your Batman or Catwoman costume; open up a bottle of wine; pick up
this book; and put your feet up. Be a Java hero, and may Guice help you on your way.
Just don’t forget to send me a picture of you in that getup.
Robbie Vanbrabant
http://garbagecollected.org
Vanbrabant
Google Guice
Apress’s firstPress series is your source for understanding cutting-edge technology. Short, highly
focused, and written by experts, Apress’s firstPress books save you time and effort. They contain
the information you could get based on intensive research yourself or if you were to attend a
conference every other week—if only you had the time. They cover the concepts and techniques
that will keep you ahead of the technology curve. Apress’s firstPress books are real books, in your
choice of electronic or print-on-demand format, with no rough edges even when the technology
itself is still rough. You can’t afford to be without them.
this print for content only—size & color not accurate spine = 0.408" 192 page count
User level:
Intermediate
www.apress.com
java.apress.com
SOURCE CODE ONLINE
180
PAGES
Available as a
PDF Electronic Book
or Print On Demand