File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes A conceptual question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "A conceptual question" Watch "A conceptual question" New topic
Author

A conceptual question

Amr Khan
Greenhorn

Joined: Jul 27, 2001
Posts: 6
Q) A person A sits in front of his computer and tries to buy a book from Amazon.com. My question is this: will A be the only actor in this case?
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Hi Amr,
Actor would not be "A" but the "Person" who would represent all the actors like "A".Remember, actors are not individual human beings, but they are "roles" which people play.
Hope this helps,
Sandeep
SCJP2, OCSD(Oracle JDeveloper), OCED(Oracle Internet Platform)
Michal Harezlak
Ranch Hand

Joined: Jul 06, 2000
Posts: 185
Originally posted by Amr Khan:
Q) A person A sits in front of his computer and tries to buy a book from Amazon.com. My question is this: will A be the only actor in this case?

Amr:
That depends on number of factors, particularly the perspective you take and systems boundaries that you agree upon. For the scenario you have presented ... it seems to me that everything else (amazon.com) is the system. Only actor is a Person.
As Desai has mentioned A is of Class Person so it could be more appropriate to call your actor a Person rather then A.
Regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A conceptual question