aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes actors and domain models Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "actors and domain models" Watch "actors and domain models" New topic
Author

actors and domain models

Ronald Wouters
Ranch Hand

Joined: Apr 28, 2005
Posts: 190
Hi,

are there any guidelines on when you should put an actor also on a domain model ? By that I mean should you put things like Customer, Supplier, Employee which are actually users/actors for the system under design, also on the domain model. Maybe more interestingly, when should you not do this ?

Regards.



Sun Certified Developer for the Java 2 Platform
Sun Certified Enterprise Architect for the Java Platform, Enterprise Edition 5
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
An actor is a person or thing that initiates use cases.

It is different from Entity in domain model, for example, a customer who starts a use case is different from Customer Entity in domain model.

To be more specific, a customer actor is a real person (or an example person) who exists in real world, but Customer Entity is only a abstract thing that exists in software.

So the question is not should or not, but it's in domain model or not. If Customer needs to be in domain model, put it.
[ December 18, 2008: Message edited by: Kengkaj Sathianpantarit ]

SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Scott Soo
Ranch Hand

Joined: Oct 02, 2008
Posts: 83
Hi,

In addition to Kengkaj's advice, I think "Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development (3rd Edition) - Craig Larman " will help to enhance understanding.

Thank you.
Ronald Wouters
Ranch Hand

Joined: Apr 28, 2005
Posts: 190
Thanks for both your advise.
It is most helpful.
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
You're welcome.

It's good that my comment is useful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: actors and domain models