Home ยป Dependency Injection

Dependency Injection

Google Guice

How to use Guice in a Lambda on AWS for dependency injection

  • by

Despite AWS recommending to use Dagger for dependency injection in your Java lambdas, you might be required to use Guice as your injection framework, for example to port an existing application running somewhere else into a lambda, and without the time to make the change. Let’s see how to do that!