Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Chapter 9 Class Diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Chapter 9 Class Diagram" Watch "Chapter 9 Class Diagram" New topic

Chapter 9 Class Diagram

Kumar Amit
Ranch Hand

Joined: Aug 13, 2001
Posts: 103
In the class diagram (Chapter 9 ) of Mark Cade's Book, Bidder, Seller and Users classes are declared without any stereotypes. Shouldn't they be JPA entities?

Ranganathan Kaliyur Mannar

Joined: Oct 16, 2003
Posts: 1101

Bidder and Seller both extend User. And User info is maintained in LDAP Server - that is my understanding. So, these classes have not been given the entity stereotypes...

Kumar Amit
Ranch Hand

Joined: Aug 13, 2001
Posts: 103
What about user profile e.g. Bidder's contact details, email etc. These are stored in database and not in LDAP. There should be a entity to get it from db. Isn't it?
I agree. Here's the link:
subject: Chapter 9 Class Diagram
It's not a secret anymore!