adspace


What is the use of stereotypes in spring?

Answer Posted / Ravi Prakash Mourya

Stereotypes in Spring are used to specify a default value for the type of bean that should be created. The most common stereotype is 'component', which can be used instead of explicitly specifying Singleton or Prototype.

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 lazy class?

490


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

556


How can you inject java collection in spring?

518