David Pfeffer David Pfeffer - 22 days ago 9
C# Question

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.?

Answer Source

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.