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

Question about Mark Cade's Class Diagram

 
Shashi Agrawal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Fellow Ranchers,
I am preparing for SCEA Step2 and have a doubt about class diagram given for the case study given in Mark Cade's book.
'SearchProcessor' which is marked as Stateless bean, is creating 'ShoppingCart', which I am assuming is a model. So my doubt is that
  • How this system is maintiaining 'ShoppingCart' state?
  • Is it relying on client to maintain 'ShoppingCart' state? If so, is it a good idea (As client could easily manipulate it)?
  • what if 'SearchProcessor' calls a 'ShoppingCartProcessor' which is a 'StatefulBean' which creates 'ShoppingCart'? So the state is maintained within the system, not with the client.

  • Kindly let me know your ideas.

    Thanks,
    Shashi
    [ September 16, 2007: Message edited by: Shashi Agrawal ]
     
    Shashi Agrawal
    Greenhorn
    Posts: 9
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Did I ask too dumb question here ? (Not a single reply.)
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic