This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.