Hi Wouter,

omitting the state charts is OK, but even if you replace them by
activity graphs, the distinction between the macro workflow and the
micro event handling should be visible. The idea behind that is that one
activity in the workflow is like a component with defined inputs and
outputs: a sequence of activities can be rearranged without breaking the
internal event flow of each activity itself.

When a guard evaluates false, there must always be an "else" guard.
Model constraints like that are perfect examples for OCL! Somebod was
already dreaming about the inclusion of an OCL parser in AndroMDA - who
was that?

Cheers...
Matthias

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, August 31, 2003 10:31 PM
> To: "Matthias Bohlen"
> Subject: RE: New struts cartridge
> 
> 
> "Matthias Bohlen" <[EMAIL PROTECTED]> wrote:
> 
> >Hi Wouter,
> >
> 
> hello Matthias,
> 
> >today, I have had a short look at your template files inside the new 
> >struts cartridge. I think, there is a lot of useful stuff in 
> there but 
> >there is also room for optimization. For example, I'd like 
> to have the 
> >stuff in it that I mentioned in my email of August 3rd, 
> especially the 
> >distinction between the two levels of detail: the workflow 
> (overview) 
> >level and the activity/state (detail) level. The templates should 
> >reflect this.
> >
> 
> Did you agree that the state graphs would currently not be 
> considered ? I understood I could focus on ActivityGraphs. On 
> the other hand StateCharts are very interesting to include. 
> For the moment I had no need to handle them as everything 
> could be modeled using the activity graphs, then again, other 
> people may find them useful.
> 
> With state charts there are many issues to be tackled, for 
> example, a transition Guard, what happens if the condition 
> evaluates false: we should not be able to follow the 
> transition, but do we throw an exception ? use ActionErrors ? 
> or something else ... I need to think about this
> 
> >One other question: When I saw the template for the form 
> classes, I did 
> >not see any getter/setter generation in it. Why this?
> >
> 
> I did not write the VTL code yet ;-) it's on my todo list
> 
> there are many things that I would like to add, such as a lot 
> of comments in the generated code, telling you what is going 
> on at each point and what needs to be done (form properties 
> that may be used, actions to call, etc). I recently added an 
> important feature which is the ObjectFlowState, it was 
> something that was really missing.
> 
> >Unfortunately, I do not have very much spare time these days 
> due to the 
> >preparation of the openMDA conference. I'll resume the 
> integration/test 
> >activities on the new cartridge after the conference.
> >
> 
> so you will not use it then in the tutorial, is that correct 
> ? in that case I will spend a little more time on other 
> activities too ;-)
> 
> btw, in short, the cartridge generates this:
> 
> UseCase --> Struts DispatchAction (ControllerClass), 
> ActionForm (PresentationClass) InitialState, ActionState, 
> FinalState --> JSPs (and forwards) + DispatchAction method 
> Transition --> forward PseudoState.choice --> method (in 
> DispatchAction to be implemented by user ObjectFlowState --> 
> method (in DispatchAction to be implemented by user Struts 
> Configuration --> struts-config.xml
> 
> in the next couple of weeks I will try to add:
> Guard, Trigger, Effect
> 
> >Cheers...
> >Matthias
> >
> >P.S.: By the way, do you know whether you attend openMDA 2003?
> >
> 
> I will not be able to attend since my employer wishes not to 
> let me go before the final delivery of my current project 
> (end of September), even taking some days of will be difficult.
> 
> next time ;-)
> 
> cheers, and good luck with the conference!
> 
> __________________________________________________________________
> McAfee VirusScan Online from the Netscape Network. 
> Comprehensive protection for your entire computer. Get your 
> free trial today! 
> http://channels.netscape.com/ns/computing/mcafee/index.jsp?pro
mo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455




-------------------------------------------------------
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

Reply via email to