• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

Configuring a bean as a prototype

I was reading folowing line and I did not understand clearly.

Configuring a bean as a prototype may be useful if you would like to use the Spring
context as a factory for new instances of domain objects, such as Student or
Course objects. As prototype beans, you would be able to easily configure the
objects at the factory level, while still guaranteeing that the
factory would dispense a unique instance each time you ask for a domain object.

Any ideas, resources,sample code,links, highly appreciated. thanks in advance.
0
gudii9
Asked:
gudii9
1 Solution
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now