Re: Use Case -



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



.



Relevant Pages

  • Re: Use Case -
    ... You can create a precondition for most of the use cases: "precondition: at ... the start of this use case, the actor is able to access the site over the ... >> Now all of these Use Cases assume that there is a valid connection. ... >> consequences of a connection failure would be different depending when ...
    (comp.object)
  • Re: Connection Failure
    ... I've been using ADO accessing MS SQL Server for a few years. ... is a problem with connection failures if the connection isn't used for a ... Var i: Integer; ... I try to open a query and get the Connection Failure message. ...
    (borland.public.delphi.database.ado)
  • Delphi 5, ADOConnection
    ... connection and re-opening, ... The machine currently logged in and using an ADOConnection ... to reconnect after an exception keeps returning "Connection Failure". ...
    (borland.public.delphi.database.ado)
  • Re: Connection Failure
    ... I try to open a query and get the Connection Failure message. ... It seems when the connection is severed for any reason, the SQL DB handle ... opens a Customer record, ...
    (borland.public.delphi.database.ado)
  • ADO and connection failures
    ... Our biggest customer has 3 sites, connected together over a VPN, ... operating on 1 database. ... Once a day, or once in two days, the connection is ... EOleException connection failure. ...
    (borland.public.delphi.database.ado)