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:

Get Google Guice: Agile Lightweight Dependency Injection Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.