• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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' ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!