« Return to Thread: Dependency injection in Scala?

Re: Dependency injection in Scala?

by David Pollak :: Rate this Message:

Reply to Author | View in Thread

See http://onestepback.org/articles/depinj/contents.html

In general, Scala doesn't need DI because one can use type-safe
"creator" functions.

Stepan Koltsov wrote:

> Hello,
>
> Is there any way to write code in Scala as in Java+Spring? I. e. with
> dependency injection of components.
>
> It is hard to write large applications without DI.
>
> Should DI be done in pure Scala some way, or there is any framework,
> or Spring itself should be used?
>
> S.
>  

 « Return to Thread: Dependency injection in Scala?