Hi Wouter, see my comments below.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of [EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 3:25 PM > To: "Matthias Bohlen"; "'Anthony Mowers'" > Cc: "'Developers AndroMDA'" > Subject: [Andromda-devel] RE: Elaborate sample model for the > new struts cartridge > > 1. You seem to have use State diagrams rather than Activity > diagrams, why is that ? Because this seems semantically correct. Activities are contained in the overall workflow whereas one single activity is specified by dialogue states. > personally I feel more comfortable > with activity diagrams since they tend to be less technical > and more business oriented than state diagrams (my feeling). Yes - agreed. So, please use activity diagrams instead. > For example, I prefer a Pseudostate of kind 'choice' over a > transition with a guard. Can you shed some light ? Is there > something you can do (or ought to do) with state diagrams > that cannot be done in activity diagrams ? No, I think they are more or less equivalent. > 2. in your model it is possible to have many presentation > classes (Forms) associated with a controller class (Action), > this sounds fine to me. However, in Struts you have only one > Form per Action declaration in struts-config.xml. Oh, I see. So, please generate one form but several JSPs. > Personally I would not mind reusing the same form for all > action states in a use-case. The UML model would show > different classes, but the actual generated code would merge > all of their properties. Do you have any objections ? No, absolutely not. > 3. I want my output filenames to be a function of the names > as they appear in the model elements, how can I do this > without touching the kernel ? (I am now overriding getName() > and getPackageName() in UMLStaticHelper) Hmmm... today, there is no good mechanism that allows you to do so. I'll have to think about this. Cheers... Matthias --- Matthias Bohlen "Consulting that helps project teams to succeed..." http://www.mbohlen.de/ openMDA - the conference about Model Driven Architecture September 15-17, K�ln, Germany http://www.openmda.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
