A simple sample on Dagger 2 Dependency Injection on a full java (non android) application.
Although Dagger 2 (and 1 also) was design to catch Android performance, it's a also a perfect solution as an IoC container on a full java server application.
Setup and dependencies for Dagger2 are based on this pull request.
Example is based on @JakeWharton #Devoxx2014 session on Dagger2
##Links:
- Dagger official web page
- Dagger 1 Github repository
- Dagger 2 Github repository
- Dagger 2 Design Document
- The Future of Dependency Injection with Dagger 2 talk
- [The Future of Dependency Injection with Dagger 2 slides](https://speakerdeck.com/jakewharton/dependency-injection-with-dagger-2-devoxx-2014