• 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

creating class diagrams

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Could any one advice me in how to create class diagrams for a project which contains only jsp files.I am doing a term project mainly(95%) in jsp and may have some java and xml files.Its easier to identify classes if its in C++ or Java but I am confused regarding jsp.thank you in advance for your kind advice.
prem
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If your project contains only JSP files, then the only classes it has are one for each JSP.
May I ask what it is these JSP files actually do, though? Do you have lots of inline scriptlets which might be better as custom tags or beans ? Do you have any code which appears in more than one JSP (and should be moved out to somewhere it can be shared) ?)
 
prem raja
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi frank
Yes they do contain criplets and there are some common jsp files which are placed at one place and included whereever needed.
so we have to consider one class per each jsp.
regards
prem
 
Frank Carver
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I'm getting at is that if your design only has JSP pages in it, you should treat that as a kind of "code smell" that maybe you have too much code in your JSPs (either that, or maybe the project ought to just be a static web site).
Can you give us some examples of the sort of scriptlets you have in your JSPs ?
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello. There is an UML extension for web applications. I had the same problem that you with the jsp pages and with this extension the class diagram is easy to do.
http://www.conallen.com/technologyCorner/webextension/WebExtension091.htm
http://www.conallen.com/whitepapers/webapps/ModelingWebApplications.htm

http://www.conallen.com/technologyCorner/webextension/welcome.html
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic