• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Component Diagram Question

 
Bijan Mohanty
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
I am drwaing a SessionFacade that interacts with a bunch of local EntityBeans. The Entity beans are related and the relationship is maintained by CMR. I have drawn the relationships(Association and composition) in the Class diagram. Do I have to show the CMR of the entity beans in anyway in the Component Diagram ???
Thanks in advance.
Bijan
 
Billy Tsai
Ranch Hand
Posts: 1304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
did you draw the EJB tier service locator and webtier service locator
and shows session facade has one to one relationship with EJBtier service locator? that the session facade uses the service locator to find other EJBs?
also did you show the relationship that indicates an EJB created by service locator, like
<<creates>>
ServiceLocator----------->EJB
?
 
Bijan Mohanty
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Billy,
I have a WebTier and a BusinessTier ServiceLocator. I have been trying to use the BusinessTier serviceLocator for accessing the EJBs and JMS destination in the BusinessTier. This all kinda making it really cluttered. I am thinking of dropping of the links and mention that the EJB to EJB communication will be through BusinessTier ServiceLocator in my document.
What do you think of that ??
Thanks.
Bijan
[ September 02, 2003: Message edited by: Bijan Mohanty ]
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with you.
 
Billy Tsai
Ranch Hand
Posts: 1304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well I have communication relationships between stateless and stateful session beans, but not between any entity beans, and my stateful beans have relationship to relationship to EJB tier service locator
but i am not sure if I need to show relationship from the service locator to the EJB that it was asked by another bean to locate?
also did you use intercepting filters and view helper?
 
Bijan Mohanty
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Billy,
Yes I am using intercepting filter for authentication and using the View helper as I am using a form of MVC2 which is slight modification of Struts.
I am thinking of NOT using Stateful although planning to use Entity beans. I am yet to decide between an Aggregate Entity or bunch of CMP beans with CMR with a SessionFacade.
Thanks.
Bijan
 
Billy Tsai
Ranch Hand
Posts: 1304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what kind of relationship does ur intercepting filter classes have with other class?
like SignOnFilter have a one to one relationship with MainServlet?
or they dont need any relationships with any other classes?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic