lets sat we have 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.
how do You assess following sequence diagram
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.