Hello!
I am slowly finishing my project (I want to send it on Thursday), and I have some questions for which I couldn't find a specific answer for in forum. I know that no one can give me definite answers, but at least please try to write what do you think - especially those of you who did similar and passed.
Class diagram
1). Inclusion of backing beans (
JSF)
I did my class diagram similar to Cade's example, with
JSP pages and one big Controller box. But as I can see, most of the people are including backing beans in their solution. Therefore my question is, how do you do it? Do you provide one backing bean for each JSP page? What with related pages (like "list.jsp" and "details.jsp" used in one UC and using one
EJB bean)? What happens with "Controller" block in such case? Do you show the connection between each backing bean to appropriate EJB or do you use this Controller anyhow? What with "framework agnosticism" in such case?
2). Business interfaces
Do you show each BI for each EJB on diagram? How? Often for interface you are using the class symbol with a "interface" stereotype, although I don't like this idea, as it will just clutter my class diagram without providing any additional information (as there will be only one realization for each interface). In StarUML there is a circle for Interface with name, is it enough? Or maybe it is enough to mention in notes to class diagram that each bean has corresponding BI and it is injected by it?
Component diagram
I would like to follow Cade's example and provide quite high level view of the system (for example component will be "Bill view"which comprises of list of bills page, details page and corresponding backing beans etc) . But in the requirements they mention as examples of components individual JSP pages or EJB beans. Also many people on the forum have listed everything there. I believe that this way Component Diagram will be very similar to Class Diagram. Do you think that this level of details I've mentioned will be ok?
Thanks in advance for your insight.