• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts and Sequence Diagrams

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
reply
    Bookmark Topic Watch Topic
  • New Topic