aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes jsp (jsf) & UML Class Diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "jsp (jsf) & UML Class Diagram" Watch "jsp (jsf) & UML Class Diagram" New topic
Author

jsp (jsf) & UML Class Diagram

Jussi Taimiaho
Ranch Hand

Joined: Mar 01, 2004
Posts: 40
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

Joined: Jun 08, 2004
Posts: 40
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.


Bruno Collet<br /><a href="http://www.practicalsoftwarearchitect.com" target="_blank" rel="nofollow">www.practicalsoftwarearchitect.com</a><br />- The Paradox of Software Architecture: It is easy to make a complex architecture, but it is difficult to make a simple architecture.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp (jsf) & UML Class Diagram