el galaf tarik wrote:
I think that you did not understand me.
What I mean is: imagine we have a big project with a
lot of business objects, probably thousands and my
project respect a layer design (Service, Business..).
So in this achitecture I will have for each object an
object service and Action and ActionForm..
So my question is: Am I going to do the same thing for
every single object which is very hard?? Or is there a
way to specify just the design for one object and to
generate the same thing for the other objects?
Yes, that's what the cartridge is for: for example in the spring
cartridge we stereotype an object as an <<Entity>> and this means that
we'll have a hibernate POJO, and a few spring DAO classes generated per
object (so its about 5 files per object), you would neve model the DAO
or hibernate objects in your model. So for what you want to do, you
can generate an object service, action and action form, just create a
cartridge that generates this for each of your objects (whether it be
based on a stereotype, or some other model attribute that identifiers
the element).
__________________________________________________________________
D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Cr�ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
-------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel
-------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel