• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dependence between EJB

 
James J Xu
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If one bean like CustomerEJB is used by different session facades within ejb tier like AccountManagerSF and ReservationSF, in component diagram should we draw both dependence line between AccountManagerSF and CustomerEJB, ReservationSF and CustomerEJB respectively?
 
Ramon Gill
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
James, seems a good idea to me.
Ray
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YES !
 
James J Xu
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But if one entiry bean has been accessed by many session beans, we will have many dependence line drawn between them, and this clutter the diagram.
 
Ramon Gill
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cade shows a component diagram for each package structure. This gives more diagrams, but reduces the clutter.

Ray
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic