This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

Part - II Cade's component diagram does not mention anything about controller

 
Gurukant Desai
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

Individual Controllers are displayed in sequence diagrams (BidController), Also in class diagram they have displayed a single controller(This descripency is a already being discussed in separate thread), but what about component diagram? I think controllers should also be present in component diagram, just below the JSPs in presentation tier. Right?

Please confirm my understanding.

Thanks!
 
Saket Mittal
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gurukant,

Yes I think the controllers should be present in the component diagram as well. I have included them in my presentation components as below:


<<Component>>
Place an Order
JSPs : ( create,search,results,remove)
Managed Beans: ( PlaceOrderController, OrderSearchController ...)


-s




 
Nilessh Ganu
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saket Mittal wrote:Hi Gurukant,

Yes I think the controllers should be present in the component diagram as well. I have included them in my presentation components as below:


<<Component>>
Place an Order
JSPs : ( create,search,results,remove)
Managed Beans: ( PlaceOrderController, OrderSearchController ...)


-s


It does seem correct as Managed Beans can take role of a controller, but doesn't that look incorrect to name JSF managed beans as 'xxxController' ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic