hi Michael,


first of all thanks for the kind words!



use-cases indeed 'keep track' of the previous page state in case an exception 
occurs and we need to go back to the previous page



but speaking of reusable use-cases is another story, I like the idea too but 
the problem is that when you reuse use-cases a lot you tightly couple them, 
which in effect makes it less suitable for reuse



the most apparent example is the one where you send parameters to the next 
use-case, this one is probably going to 'read' them, but if another use-case 
also sends parameters (different ones, mind you) your target use-case becomes 
'aware' of the other ones and depending on which use-case forwarded control to 
it it behaves a bit differently since it will work with different parameters 
each time (which we need to avoid)



makes sense ?



this example only covered the case where different parameters are sent from 
different use-cases, another problem of reuse is where a target use-case needs 
to 'return' to the calling source state of the original use-case, again it 
means the use-case becomes 'aware' of the ones calling it, and it will behave 
differently based on information outside of its own scope



I don't know if I make sense here .. I'm going knee deep into this stuff every 
day I'm working on bpm4struts so I might not be 100% clear :-)
--
Wouter Zoons - [EMAIL PROTECTED]

http://www.andromda.org/
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1844#1844
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to