Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp (jsf) & UML Class Diagram

 
Jussi Taimiaho
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been wondering & searching, but haven't found...

A good way to make a class diagram for a jsf project. My project is generally a bunch of jsf-files, which have no business logic; only processing instructions. These jsf-files, naturally, use (jsf)backing beans. The business logic is done in ejb-layer, which, from design point of view, can be invisible (just a layer).

So basically what I am looking for is a class diagram, which describes:
- jsf-files (what is happening there)
- backing-beans
- relations between the jsf-files
- relations with business logic

Something like:



Been trying to look for one, but just can't find anything. I could invent a sign-language of my own, but I'd like to have something done according to UML.

Any kind of hints / comments much appreciated,
Jussi
 
Bruno Collet
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use JSF in my current project and, although my implementation doc is not detailed, I use class diagrams with dependency relationships.
Each JSF page is a class (which is true). Backing bean are also classes of course.
The dependency relationships have stereotypes such as navigation (between JSF pages) and ordinary (between JSF pages and backing beans, and between backing beans and business delegates).
In fact this is not a JSF problem: UML notation is not well suited to depict view layer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic