File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts and Sequence Diagrams

 
Ron Havelock
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

-tomas
 
k.p thottam
Ranch Hand
Posts: 77
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic