Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java IoC Container Most Similar to Autofac

I'm a .NET developer primarily but am looking to use IoC in a Java project.

I have strong familiarity with Autofac. Is there an IoC container for Java that is substantially similar to Autofac in the way it is built, configured, etc.?

like image 874
David Pfeffer Avatar asked Nov 03 '22 18:11

David Pfeffer


1 Answers

I don't think there is anything similar. Autofac is quite unique and rely strongly on lambdas.

I could only recommend you google guice, which is more similar to ninject. IMO it's quite powerful, easy to pick and fun to code.

like image 192
0lukasz0 Avatar answered Nov 09 '22 13:11

0lukasz0