Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class diagram for Part II in Mark Cade and Simon Robers's Study Guide

 
Jim Baker
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I just got the book and found the class diagram
in the case study is very simple. It includes
a modified domain model and three EJBs. My question is why there is no controller servelet.
What is the general guideline for class inclusion?
Thanks.
JB
 
SJ Adnams
Ranch Hand
Posts: 925
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say the controller servlet belonged in the component diagram, not the class diagram.
I'm interested to know what Mark has included for Part II (I've not seen the book) in his book. Could you give us a quick run through Jim?
Simon
 
Jim Baker
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simon,
The Part II is for an online ordering system
for web clients only. Customer does something
like selecting items, creating order, and paying
the order. The solution includes a layer map, a tier
map, one package diagram, one class diagram, three component diagrams,
and two selected sequence diagrams.
The reason that servlet controllers were not
included is that the servlets do not define
business rules. Am I right?
What if my login use case needs a servelet
controller to perform login?
JB
 
Greg Fox
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do they provide good Component Diagram examples? I would love to know what they look like.
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the study guide. My take on the component diagrams is for example - what is in a WAR file for servlets/JSPs. These are the components you could distribute to various web containers.
 
Greg Fox
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I checked out the Study Guide today and the Component Diagrams didn't have any packages. They were very simple. It think I am ready to just submit my assigment and see how it turns out.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic