Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A conceptual question

 
Amr Khan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic