The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Should I keep solution framework agnostic? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Should I keep solution framework agnostic?" Watch "Should I keep solution framework agnostic?" New topic

Should I keep solution framework agnostic?

jianming chen
Ranch Hand

Joined: Jul 21, 2009
Posts: 33
I'm having a big dilemma here. Based on Cade's suggestion, the class diagram should remain web framework agnostic. But when I read more threads here, it is almost not possible to show that much details in the class diagram and component diagram without indicating JSF specific classes, like FaceServlet and ManagedBeans.

Please suggest should I just ignore Cads's suggestion and show whatever the classes I need in the solution. Or should I just keep class diagram framework agnostic, but show JSF related classes in in component and sequence diagrams.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32819

I put JSF classes in my class diagram as well. I think it is confusing to refer to classes in the sequence diagram that "just appear" and aren't in the class diagram.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Should I keep solution framework agnostic?
jQuery in Action, 3rd edition