Link Details

Link 880487 thumbnail
User 884233 avatar

By screener
via javarevisited.blogspot.in
Published: Nov 22 2012 / 09:49

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.
  • 4
  • 1
  • 683
  • 1096

Comments

Add your comment
User 388907 avatar

MCII replied ago:

-2 votes Vote down Vote up Reply

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

User 855949 avatar

Sandeep Bhandari replied ago:

0 votes Vote down Vote up Reply

So what is the trend now a days for DI?

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.

Voters For This Link (4)



Voters Against This Link (1)



Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java