• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Component Diagram Question

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with you.
 
Billy Tsai
Ranch Hand
Posts: 1327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 1327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
rubbery bacon. rubbery tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic