adspace


What is stereotype in spring?

Answer Posted / Tejpal Sagar

In Spring Framework, a stereotype is a special type of annotation that gives additional information about the intended role or purpose of a bean. Examples include @Controller (for web controllers), @Service (for business services), and @Repository (for data access components).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between @controller and @restcontroller in spring?

556


What is lazy class?

490


How can you inject java collection in spring?

518