This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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
Sheriff
Posts: 35977
422
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!