Hi Wouter, thanks for your quick responce - as usual! (I'm very impressed by the support you guys provide!!!)
1. Of cource I meant "One would model a front end actvity 'select a show' in the activity graph for the use case 'search show'...." 2. The solution you suggest will surely work, thank you. Put want I don't like is that it will create a dependency from the included use cases (in the sample "Serach show") to the including use cases (e.g. "Reserve ticket"), because I have to model a final state for each use case, which will include "Search show". (I would rather like to see "Search show" as a kind of secondary use case, implemented as a reusable component.) And this only works if the included use case has to be processed first. Regards Stefan model each use-case as a use-case give each of them an activity graph for each possible next use-case create a final state in the activity link each final state to the corresponding next use-case store params to transfer between use-cases as request attributes (so they will picked up and populate the next use-case form) make sure your use-cases are not too coarse-grain, on the other hand, don't be afraid when some use-cases show similar behavior... there is no need to refactor out that kind of stuff like in plain Java code I don't really understand your question when you say "Probably on would model the FrontEndActivity 'select a show' as an activity of 'search show'" do you mean action instead of activity ? anyway, with a little creativity you should be able to model anything you want what is concerned including use-cases using the UML specific feature: I have not really spent time to investigate how to integrate that, mostly because there is not a decent way to specify the order of use-cases in UML -- Wouter [EMAIL PROTECTED] wrote: >Hi all, > >I do have another question concerning the combination of use cases, and >more exaclty how to implement include relations between use cases. > >Lets assume the following scenario: >We would like to develop a ticket reservation system for a cinema call >center. >We have use cases >- "search show" (enter the town, the date, the title of the movie; get a >list of shows) >- "reserve ticket" including "search show" (search show and select one; >enter number of tickets; inform the caller about the reservation number) >and probably >- "list reservatons" including "search show" (search show; get a list of >all ticket reservations for a selected show) > >What would be the recommended way to model this with bpm4struts? > >Probably on would model the FrontEndActivity "select a show" as an activity >of "search show", followed by an serverside activity "save selected show" >with a deferrable event calling a controler operation which will store the >show id in the session scope. > >But what will be the use case that the final state points to? >That depends on the context. > >And how could you model the "calling activity" in the use cases that >include "search show". (In the sample it's allways at the beginning, but >that wouldn't be true in all cases, right?) > >I hope my question in understandable. Any feedback would be very welcome... > >Regards >Stefan > > > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.com >_______________________________________________ >Andromda-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/andromda-user > __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
