Link Details

Link 1060121 thumbnail
User 293758 avatar

By nfrankel
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
  • 948
  • 1266


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)

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