Link Details

Pros and Cons of Setter Injection and Constructor Injection in Spring framework which not only help to understand difference between Setter and Constructor injection but also helps to choose between them.

Posted by screener  |   Nov 22 2012 / 09:49

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Comments

User 388907 avatar

MCII replied ago:

Spring and esp. Spring DI is obsolete! Setter or Constructor DI? The answer is no.

Reply -2 votes
User 855949 avatar

Sandeep Bhandari replied ago:

So what is the trend now a days for DI?

Reply 0 votes

Recommended Links

Upvoters (4)



Downvoters (1)



Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone