wood burning stoves
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Struts and Sequence Diagrams 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 "Struts and Sequence Diagrams" Watch "Struts and Sequence Diagrams" New topic

Struts and Sequence Diagrams

Ron Havelock

Joined: Jul 18, 2003
Posts: 6

I would like to use struts in my part 2 design. Here is a question I have:
various classes are used in struts (actionservlet, requestprocesser, action, action form etc). However, I just extend the action class to create my action class and action form to create my form bean. is it ok if I just show these two classes in my sequence diagram(my action and form classes). Do I need to show the inner workings of the struts by showing the other classes as well. Any help would be highly appreciated.
tomas suzuki

Joined: Apr 21, 2004
Posts: 21
I am also using struts for my presentation layer. I try to list the components in struts that I believe stands out the most as apache's implementation of the MVC architecture. Therefore, I list the JSPs, the front controller in Struts and its extentions. I don't however list the forms simple because they clutter the diagram to much.
Not sure if my approach is correct.


k.p thottam
Ranch Hand

Joined: Jun 29, 2001
Posts: 77
Your class diagram should show the pieces of framework that were extened, the sequence diagram should focus on the messages between your components , the fact that the framework intercepted the calls and routed them can be as a note .

K.P.Thottam (K.P.T)<br /> <br />Sun Certified Enterprise Architect,TOGAF 8 Certified,Certified Information System security Professional (CISSP),SCJDWS,SCWCD,SCJP,MCP
I agree. Here's the link: http://aspose.com/file-tools
subject: Struts and Sequence Diagrams
It's not a secret anymore!