O'Reilly logo

Google Guice: Agile Lightweight Dependency Injection Framework by Robbie Vanbrabant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2: Enter Guice

Now that I've told you why this book exists, let's talk about the actual Guice technology. The goal of this chapter is to give you a basic understanding of what you need to do to use Guice in your projects. You'll want to set up your development environment so that you can try these examples as we go through them, so I'll briefly cover that in the first section. Once you're past that, I'll help you think your way through your first Guice adventure.

Getting Guice

Like most open source software, Guice is freely downloadable on the Internet. However, before you download Guice, make sure that you have the following installed:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required