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
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
posted 11 years ago
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.