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

Showing JSF in UML Diagram

 
Rahul Mishra
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am struggling with a very generic problem, which i believe most of the examinees would have faced.

If you have used JSF in your design, have you shown the Faces Servlet in the sequence diagram?

If yes, did you show all JSP events and submissions going through the Faces Servlet? I was trying to avoid this as it clutters the diagram and adds no real value, since i am not trying to show how JSF works.

In the course of avoiding to depict Faces Servlet, i am encountering a strange problem...
While it is perfectly valid to depict that a JSP calls a method directly on a managed bean, my problem arises when i attempt to show the next page rendering invocation. It is actually the FacesServlet which uses internal mechanisms to render the next page, in the absence of showing FacesServlet, would it be proper to show that the managed bean calls the next page?

Should i be showing FacesServlet?

Your views would help.How did you handle this problem.

Thanks,
Rahul

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did not show the FacesServlet. Just document your concern as an assumption so the examiner knows you thought about it and understand that's not how it really works.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic