Originally posted by Jay Sam:
Hi - this is to anyone who already passed Part 2.
I guess you did use Servlet Filter pattern (as in the petstore example) for signing users on to protected areas.
Well anyhow, I do.
My question: did you mention and show the filter in the sequence diagrams ?
Did you show generation of value objects etc. in the sequence diagrams ?
I wonder if that level of detail is necessary. I would like to mention the servlet filter in the text, and not show it in the sequence diagrams.
Regards,
Jay
Jay,
I used the servlet filter in my solution. I did not show the filter related classes in my class diagram. I did show the filter classes in the sequence diagram. My seq diagrams were very detailed and they did show jsps, filter classes, servlet, VOs, etc etc. I also showed the filter classes in component diagram.
Ofcourse, there is no right or wrong way to approach this. It all depends on the level of detail you want to consistently maintain in your diagrams.
Detailing the flow and use of the servlet filter in the documentation would lead to further clarity of your architecture.
hope this helps..
parag