How do you use stereotype annotations in Spring 2.5.x?

Posted by grigory on Stack Overflow See other posts from Stack Overflow or by grigory
Published on 2010-03-27T15:14:51Z Indexed on 2010/03/27 15:23 UTC
Read the original article Hit count: 359

Filed under:
|
|
|
|

When moving to Spring 2.5.x I found that it adds more stereotype annotations (on top of @Repository from 2.0): @Component, @Service and @Controller. How do you use them? Do you rely on implicit Spring support or you define custom stereotype specific functions/aspects/features? Or is it predominately for marking beans (compile time, conceptual, etc.)?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring