Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Communication between components of the same layer

 
Vignesh Murali Natarajan
Ranch Hand
Posts: 65
Firefox Browser Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can we design Part 2 in such a way that there are calls between components of the same layer? say an EJB calling another EJB?.

My scenario is I have a common use case X that is reused by 2 other use cases Y and Z(Y & Z have their own set of operations to perform apart from X). Can I design it in such a way that Use case X is done by an EJB and that this EJB is being called by EJBs that do Y & Z ? I have never seen an example diagram showing such an interaction between components in the same layer
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. It is fine to call an EJB in the same layer.
 
Vignesh Murali Natarajan
Ranch Hand
Posts: 65
Firefox Browser Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic