Win a copy of Java Challengers this week in the Java in General forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Modelling Struts apps with UML

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are the common approaches to modelling struts based applications with UML? What essential struts components would you include in class, collaboration, sequence, package, etc. diagrams?

Thanks in advance!
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In design pharse, there are some objects that are specifically describe the system. Personally, I think they are quite fit to Struts.

In UML notation, there are 3 objects: Control, Entity and Interface.

In this sense, you may think DispatchAction class as a Control object, those views (JSPs or TransferObjects or even Form) are Entity objects, and the method callers are the Interface objects.

Thus, even your system make use of Struts, the UML can model them. Depends on the needs of your doucmentation, you pick the diagrams that you need to elaborate. The most common diagrams, I think, should be class, sequence and state diagrams.

You work with component and package and deployment diagrams when your system is ready to launch.

Nick
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just saw a PDF about UML of Struts, you maybe interested to have a look.

http://husted.com/struts/resources/uml-jps.pdf

Nick
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello "kaichin" and welcome to the JavaRanch!

I noticed your display name is violating our naming policy since it's missing a last name -- you can add it here.

Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic