• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entities

 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic