Skip to content

Spring

January 16, 2012

Spring Configurations Types/Namespaces (Bean / Context / AOP / JEE / LANG / TX / UTIL).

DI : Spring container was one of the first proponents of Dependency injection and is used most widely today for this very feature. Spring enables injecting of dependencies into various beans (Object artifacts) externally i.e, through Spring container.
Spring supports two polar configuration styles: explicit configuration and auto-wiring. Explicit configuration is verbose but maintainable. Auto-wiring is concise but slow and not well suited to non-trivial applications. If you have 100s of developers and 100s of thousands of lines of code, auto-wiring isn’t an option.
Three injection types are : Constructor Injection, Setter Injection and Getter Injection.

TX: It provides declarative transaction across spring beans.

Spring has become extensively annotation based.

From → java

Leave a Comment

Leave a comment