Link Details

Link 1060121 thumbnail
User 293758 avatar

By nfrankel
via java.dzone.com
Published: Nov 05 2013 / 10:14

Autowiring is a particular kind of wiring, where injecting dependencies is not explicit but actually managed implicitly by the container. This article tries to provide some relevant info regarding disadvantages of using autowiring. Although Spring is taken as an example, the same reasoning can apply to JavaEE’s CDI.
  • 6
  • 2
  • 926
  • 1260

Comments

Add your comment
User 200923 avatar

javaguy44 replied ago:

1 votes Vote down Vote up Reply

Not maintainable in real life projects? Perhaps not maintainable in your own projects? I suggest the author tweet Rod Johnson and tell him that Spring auto wiring is not maintainable in real life projects.

User 410705 avatar

juraj.misur replied ago:

0 votes Vote down Vote up Reply

Bean conflicts are easy to resolve, particularly because spring provides nice exception report about what's wrong. Also there is not point of shielding pojos from spring imports. Autowiring is the best thing since sliced bread, never had an issue..

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 (5)



Voters Against This Link (2)



Java Performance Optimization
Written by: Pierre-Hugues Charbonneau
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Node.js
  2. Debugging JavaScript
  3. OO JS
  4. JSON
  5. Ajax