-
Sep 12th, 2011, 04:50 AM
#1
Approaches to making Aggregation factories using Spring 3
Say I have modeled an somewhat complex aggregation with a root entity, some internal entities and value objects. I decide I need a factory for implementing this aggregation according to the specification I've come up with.
Now, what are the starting points within the Spring Frameworks that I can use to aid me in creating this factory?
It seems to me I could use the prototype bean scope some how, but I've seen few examples of creating domain objects with Spring bean prototypes and I feel a bit unsure, if building my own traditional factory, could Spring 3 give me some advantage?
Can you suggest or describe Spring 3 examples where prototype is in use or other ideas for aggregation factories? That would be most helpful to my search.
Any of your thoughts on the matter would be a help.
Last edited by MiB; Sep 12th, 2011 at 05:18 PM.
-
Sep 12th, 2011, 05:16 PM
#2
Currently I have abandoned this idea, except I see a possibility that Spring would make the factory available in the context.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules