询问一些关于UML、Use Cases的问题最近要用J2EE做一个论坛的Project。在Use Cases Analysis的时候遇到了些麻烦。
对于一些Even Trigger的事件,
例如,假设一个用户收到了个短消息,会有一个友好的信息pop-up,提示他收到了来自别人的短消息。然后他点击pop-up的提示,就可以查看短消息。有点类似于MSN提示的功能。
这种情况也是actor和system交互的功能,所以算做use case。
那么在具体写use case step的时候,怎么处理呢? [御月样 (9-3 10:46, Long long ago)]
[ 传统版 |
sForum ][登录后回复]1楼
i think it's just the usual case diagramactor A sends a message to system
system forwards the message to actor B
actor B responds[SmellsLikeTeenSpirit (9-3 18:31, Long long ago)]
[ 传统版 |
sForum ][登录后回复]2楼
(引用 SmellsLikeTeenSpirit:i think it's just the usual case diagramactor A sends a message to system
system forwards the message to actor B
actor B respo)but my problem is a little differentActor A does nothing and the System sends message to A;
Then actor A responds..
[御月样 (9-3 18:49, Long long ago)]
[ 传统版 |
sForum ][登录后回复]3楼
(引用 御月样:but my problem is a little differentActor A does nothing and the System sends message to A; Then actor A responds.. )i got it! thanks![御月样 (9-3 18:54, Long long ago)] [ 传统版 | sForum ][登录后回复]4楼
(引用 御月样:but my problem is a little differentActor A does nothing and the System sends message to A; Then actor A responds.. )no, it did somthing[MrDJay (9-4 19:59, Long long ago)] [ 传统版 | sForum ][登录后回复]5楼