• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB1.1 Entity Bean and Relationship

 
Mike
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I face one problem, I hope hear any sugestion. In class diagram, Entity Bean can not describe the relationship, and I think it is take more risk if I don't show the relation ship at Class Diagram, any idea about the situation?

Thanks advance
 
Ramon Gill
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike,
forget about 'entity' beans for the class diagram. The class diagram should be 'conceptual'. Just think of java classes, not specific types of classes. Show all the associations between classes (i.e. Customer has an Address).
You're not meant to show the class diagram from an implementation perspective.

Ray
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike,
Thanks for joining JavaRanch.
Unfortunately your name violates our naming policy. Please take a quick look at the rules and edit your profile accordingly.

Thank you!
[ May 27, 2004: Message edited by: Ajith Kallambella ]
 
Chee Seng
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As a rule of thumb, I just need to put all the domain objects in the class diagram, i.e. all the value objects or similar.

And exclude all the EJB, sevlets, DAO, business object, application service etc.

Am I right?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic