mercredi 10 juillet 2019

Actual business scenrio where we use Prototype scope in spring?

I was readign about differnt scopes for beans in Spring.

Everytime I have created bean in xml , I have never use scope property, which means It was SingleTon."

For prototype I read that " Prototype scope is preferred for the stateful beans"

What is meant by stateful beans? Can someone give me realtime example, where we have prototype scope?

Aucun commentaire:

Enregistrer un commentaire