• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 925
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do they provide good Component Diagram examples? I would love to know what they look like.
 
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
ice is for people that are not already cool. Chill with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic