• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to represent the Sesion bean and enitiy bean relation ship in class diagram

 
rethna pillai
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HiALl,
Does any body explain How to represent the Session bean and enitiy bean relation ship in class diagram..any examples..
Appreciate your response..
Thanks,
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The SCEA study guide draws them with a dependency symbol. E.G. SearchProcessor depends on Product and ProductCategory.
 
Roger Zacharias
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>Does any body explain How to represent the Session bean and enitiy bean >relation ship in class diagram..any examples..
Hi,
you do not have to show entity beans or session beans in your class diagram, because I think the class diagram should be technology-independent. Show �DataEntity� and �Controller� as stereotypes and map them to J2EE components in the component diagram later.
Regards,
Roger
 
rethna pillai
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your response.In case I want to show the relation ship between the entity and entity bean that persists that entity,How can we handle this.
For example I have java class called Studen and a EJB called studentEJB,How can we represent that in class diagarm
Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic