DI with play 2.4
source link: http://yanns.github.io/blog/2015/05/20/di-with-play-2-dot-4/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
DI with play 2.4
During the play framework meetup in Mai 2015, there were 3 talks about Dependency Injection (DI) in Play 2.4:
-
from Micheal: runtime DI in Java with Guice, the default framework introduced in play 2.4: https://github.com/schleichardt/play-2-4-di-talk
-
from Oleg: runtime DI in Scala with Scaldi: http://scaldi.github.io/scaldi-play-2.4.0-presentation/
-
compile-time DI in Scala with constructor arguments or MacWire: http://de.slideshare.net/yann_s/play-24dimacwire. For that talk, I re-used the TBA application I used at the Ping Conf last year and added a version using MacWire: https://github.com/yanns/TPA/tree/master/frontend/TBA_macwire
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK