*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Entities Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Entities" Watch "Entities" New topic
Author

Entities

Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Hey guys.. couple of questions...

1) In general would ALL domain objects in a class diagram / domain model be Entities (stereotyped with <<Entity>>)?

2) Would these Entities (or domain objects) be classified as a Business Object design pattern?


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJD, SCEA/OCMJEA

Live life to an interface, not an implementation!
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1075
    
  10

1. I don't think so. In fact, Cade's book shows this - where the 'User' is not an Entity. The user stuff is stored in LDAP...


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Good point Ranganathan. But as for everything else (everything persisted to a relational database) - I think they would be Entities. Please correct me if I'm wrong.

So would an Entity be a BusinessObject? (design pattern)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Entities
 
Similar Threads
Display Problem in html
what are domain object and service entity?
Storing HTML tags in Mysql table
What do you do when you can't program BOTTOM-UP?
Accessing property file from weblogic domain in spring