aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes show intercepting filter in sequence diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "show intercepting filter in sequence diagram" Watch "show intercepting filter in sequence diagram" New topic
Author

show intercepting filter in sequence diagram

Lin Sun
Greenhorn

Joined: Mar 23, 2012
Posts: 16
I searched past posts about showing JSF in sequence diagram. It appears a common approach is:

JSF page <------> Managed Bean <-----------> SLSB

without showing FacesServlet.

Given that approach, my question is how to show intercepting filter in sequence diagram. For example, if user finishes shopping and checks out, an intercepting filter can check if user is signed on and if not, direct user to sign on first.

With FacesServlet in place, I think the sequence diagram goes something like below:

Some JSF page ----> FacesServlet ---> PhaseListener (as intercepting filter) -----> Signon JSF page--> back to PhaseListener --> back to FaceServlet ----> show Cart JSF page and allow user to check out


How do you show the intercepting filter pattern in sequence diagram without FaceServlet and PhaseListener in place?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

You can either show it where it would be called or put it as a note outside the diagram.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: show intercepting filter in sequence diagram