Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial