HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 309663 thumbnail
User 160967 avatar

By alarmnummer
via pveentjer.wordpress.com
Published: Dec 03 2009 / 14:33

A blogpost where the (personal) pro's and con's of Spring @Autowired are discussed.
  • 11
  • 0
  • 2432
  • 0

Comments

Add your comment
User 57355 avatar

mknutty replied ago:

0 votes Vote down Vote up Reply

Asks a good question without being critical.

User 291248 avatar

kypronite replied ago:

0 votes Vote down Vote up Reply

-----edit-------
where's the delete button to delete my comment?

User 30679 avatar

kent tong replied ago:

0 votes Vote down Vote up Reply

I don't know why you think it's hard to understand. For example, for the code below:


@Autowired
private Foo foo;


Just put the cursor on "Foo" and press F4 in Eclipse, you'll see which concrete class is implementing that Foo interface. In practice only one such class should be found as Foo is probably a singleton.

User 57355 avatar

mknutty replied ago:

0 votes Vote down Vote up Reply

He is not using Eclipse, for one. Also, it is not just about what implements that. It is more about what is USING that and what is the current implementation that is being used.

User 161003 avatar

Nicolas Doye replied ago:

0 votes Vote down Vote up Reply

Glad it's not just me!

User 388907 avatar

MCII replied ago:

-2 votes Vote down Vote up Reply

Spring is a producer of complexity in the name of 'configurability'.

User 57355 avatar

mknutty replied ago:

0 votes Vote down Vote up Reply

Maybe if all you do is "hello world" apps. But for those of us who do TDD and/or DDD or just complex systems, it decreases complexity and increases maintainability. Is it tough for those who are entry level (in experience not just years)? Sure. But it all is

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



Voters Against This Link (0)