Re: Use Case -
- From: "H. S. Lahman" <h.lahman@xxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 20:57:00 GMT
Responding to Query_me2001...
I would like peoples thoughts on the following.
Take as an example of a Web Based shopping with the following Use Cases (amongst others).
- Place Order - Modify Order - Arrange Shipment - Check Order Status
Now all of these Use Cases assume that there is a valid connection. I am wondering how to apply the case when there is an failure in the web connection. Now this could happen at any time. Do I have to put an alternate flow in every stage of the main flow of each Use Case. The consequences of a connection failure would be different depending when it happens.
The use cases you provide are customer use cases that define functional requirements. However, there are other requirements that are implicit in the implementation within the computing space. A connection failure is an example of requirements implicit in the computing environment. That suggests that you need a new use case to capture these "new" requirements.
In this case the network is the actor and it generates a connection failure message that must be processed. That message is conceptually no different than an input from the user. So the use case should provide requirements for the processing to be done in response to such a message.
Depending on the circumstances, that may require different scenarios. For example, if the order has been submitted but not confirmed when the connection failed, one probably needs more process steps than for when the connection fails before the order is actually placed.
************* There is nothing wrong with me that could not be cured by a capful of Drano.
H. S. Lahman hsl@xxxxxxxxxxxxxxxxx Pathfinder Solutions -- Put MDA to Work http://www.pathfindermda.com blog: http://pathfinderpeople.blogs.com/hslahman (888)OOA-PATH
.
- References:
- Use Case -
- From: query_me2001
- Use Case -
- Prev by Date: Re: Syntax changes in UML 2.0
- Next by Date: Re: OO Design induces an existential crisis
- Previous by thread: Use Case -
- Next by thread: Use Case - Commuincation Link breaks
- Index(es):
Relevant Pages
|