It's not a secret anymore!
The moose likes Spring and the fly likes Why method injection? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Why method injection?" Watch "Why method injection?" New topic

Why method injection?

Vish Shukla
Ranch Hand

Joined: Oct 12, 2008
Posts: 111

I am quite new to Spring. I am studying Spring In Action book. I just want to know what are the real world uses or applicability of Method Injection? Is there any kind of use case which can be implemented by method injection only??

Thanks in advance..

Thanks & Regards,
Vishal S Shukla (SCJP 93%, SCWCD 94%, SCBCD 100%)
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

You'll find explanations in the reference documentation, and in this blog entry.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: Why method injection?
jQuery in Action, 3rd edition