?
Solved

Configuring a bean as a prototype

Posted on 2011-05-04
1
Medium Priority
?
179 Views
Last Modified: 2012-05-11
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
Comment
Question by:gudii9
1 Comment
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 35694945
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses
Course of the Month16 days, 6 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question