> -----Original Message----- > From: Wouter Zoons [mailto:[EMAIL PROTECTED] > Subject: Re: [Andromda-user] Master detail - bpm4struts suggestion > > if yes, than I have to think about it ... I am not yet > convinced it is a > good idea to model business logic into the process flow ... > someone else has an idea perhaps ?
I think there are multiple problems that could be considered here. Using the example of a cart, the first problem could be the logic of adding items to the cart. I'm not a good enough modeller to answer this. Another problem, that of simply displaying Collection aggregates (such as the HTML table for the list of items in a cart), could be handled very elegantly via the generation of a JSP tag handler in the java source tree that is referenced by the JSP that needs to display the aggregate. Generating this tag handler would not be difficult, and would encourage developers to use tags since all the tedium is taken care of by the generator. One consideration is whether the tag could interface with factory finder methods for the aggregates such that the factory method is included in the entity automatically. But it's maybe a bit strange that the cartridge is adding methods to the finder that aren't explicitly modelled. Talking to the finder for the entity in the aggregate seems to be the right thing for this, what's the solution? -b ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
