I am from spring background, where we use Dependency Injections
in our projects. Now i am on Play-Framework
, where i am select Scala for development. With Scala i want to use dependency injection and i find out there are so many Dependency Injections
frameworks are available for Scala. Spring also provide the support for Scala dependency injection framework. But i only need IOC container, so there is no need for using spring. In the Play-Framework
documentation they use Google-Guice for Dependency injection framework. But i found out SCALDI
also a nice Dependency Injection Framework for Scala.
I am still confusing which Dependency Injection
frameworks good for Scala
and Play-Framework
. There are also compile time type safety framework are available. Please suggest me, go for which Dependency Injection
Framework?