Announcement Announcement Module
Collapse
No announcement yet.
Approaches to making Aggregation factories using Spring 3 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 06:18 PM.

  • #2
    Currently I have abandoned this idea, except I see a possibility that Spring would make the factory available in the context.

    Comment

    Working...
    X