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.

Advertisements

From → java

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: