Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about sequence diagram

 
Kazimierz Trzonek
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would You assess diagram for following use case

User buys a selected pet,
system verifies if selected pet still exist
system sends email with confirmation
system sends message do delivery outside company system
confirmation page with buyed pet color is displayed.



1 should I show browser ?
2 to whom should a browser send a message? i send to DispatcherServlet, is it ok? should it be web server? what a message shoudl it be get(httpServletRequest, httpServletResponse)? i dont like this idea myself.
3dispatcher sevlet calls UrlToControllerMapper - it returns controller for current url, disp servelt calls on returned controller handleRequest(httpServletRequest, httpServletResponse) - should I show this steps on seq diagram?
4 orderController call checkAvailabilty on PetStoreServiceImpl, is it all right that i show true in return, how should i show that there can also be alternative flow - when false is returned - and than info with appropriate message is displayed to client - but i wouldnt like to show whole flow through all mvc classes, can i simple omit it?
5should i show MailServiceImpl slsb class or MailService interface with slsb annotation? on interface i couldn't show insertMessageToJms - because it's specific to this implementation, yet important
6 how should i show in sequence MailServiceMDB - it processes message inserted to jms queue by MailServiceImpl.insertMessageToJms(..)
should i show jms queue?
7 deliverServiceMDB communicates with external system of shipping company, how can i model it?
8 how can i show creating new modelAndView, is my method ok (calling new("petColor", petColor)) - i have seen in samples eg no new but <<create>> but how to show params? <<create>>("petColor", petColor) ?
9 any other remarks, what would You do better, other, what is completely unacceptable, may be not liked by sun evaluators?

thank You in advance.

seq.png
[Thumbnail for seq.png]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic