• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Part 2- Sequence diagram and component diagram

 
Nimit Shah
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I have few questions about approach I took, kindly advise

1) I prepared a general sequence diagram to show general flow, where I did show jsp-->faces servlet -->managed bean-->bus delgt -->service loc-->session bean-->entity manager.
In the sequence diagram specific to usecase i am planning to skip showin EntityManager and FacesServlet, rather will use a stereo type <update> from session bean to entity.
Does it sounnd OK?

2) I did not show FacesServlet and EntityManager in class diagram, is it still OK to use them in generic sequence diagram (Not business usecase sequence diagram)?

3) Is it OK to show FacesServlet and EntityManager in component diagram? as I cant show session bean directly accessing database.
I have used DAO but not for DB access, as I was planning to show EntityManager as a component in integration tier.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic