Was looking at some options I have for reusing an object and was considering cloning an existing object since the new copy differs in one field.
I think I can get around the use of cloning. But, now I'm wondering how object cloning would be done using Spring. getBean either creates a new object or reuses an existing one, right.
I haven't looked at all the object factories yet. Maybe there is something that does this already, of course.


Reply With Quote