What is stereotype in spring?



What is stereotype in spring?..

Answer / 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

More Spring Framework Interview Questions

What is controller in spring mvc framework?

1 Answers  


What is spring ioc container?

1 Answers  


What is path variable in spring?

1 Answers  


What is servlet initializer in spring boot? : Spring Boot

1 Answers  


What is spring configuration file?

1 Answers  


What is the advantage of dependency injection in spring?

1 Answers  


Differentiate between beanfactory and applicationcontext in spring.

1 Answers  


What is a dispatcherservlet in spring boot? : Spring Boot

1 Answers  


What is @entity in spring boot? : Spring Boot

1 Answers  


How to use tomcat jndi datasource in spring web application?

1 Answers  


What is delegatingvariableresolver?

1 Answers  


What is namedparameterjdbctemplate in spring?

1 Answers  


Categories