I have a question about one of the design decisions regarding the
hibernate code generation for the Spring cartridge:

The hibernate velocity templates for the Spring cartridge produce an
inner factory class for each hibernate entity generated. My
understanding is that one of the key benefits Spring provides is to
allow developers to define factory creation of objects in its
framework.

The problem that I am having is that I do not see the reason for using
the factory pattern when MDA and Inversion of Control is used. Adding
factory classes seems to add extra weight and complicate the design in
my mind.

I am still reading about and experimenting with the Spring framework
so I don't know all of its limitations yet, but what am I missing?

Best Regards,

Richard Billeci
Metagee Europe GmbH


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to