Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Should I keep solution framework agnostic?

 
jianming chen
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

thanks.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 35977
422
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!