• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServiceLocator provides reference to SLSB

 
Lucy Hummel
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Follows,

During drawing sequence diagram I faced the question:

My business delegate (BD) wants to access a session facade which is a stateless session bean a second time. Does the BD requests the reference from service locator (SL) again? So draw these arrows from BD to SL asking for the session facade and from SL to the session facade to create the session facade?

I hope you know how it goes and tell me

Lucy
 
Mudi Appu
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as you are having the reference in hand you can call its methods. It is not depending on the statefull/stateless nature. No need to call service locator.
 
Lucy Hummel
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kanishtha,

great to hear, so my Sequence Diagrams has less arrows and so its looks not that full ....

Wishing a great weekend
Lucy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic