This week's giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP and have Lucian Maly on-line!
See this thread for details.
Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Should we need to show sub - Controller in Diagram?

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If we do a single front controller pattern ,I assume, we would have various requests forwarded to many sub-controllers, right? But in Cade book, chapter 9, there is only one single front controller in the class diagram however in the sequence diagram they also include a BidController.

Should we just show the single front controller and in the write assumption about the url mappings to subcontroller/command object in a declarative setting and no need of sub-controllers OR we should show sub-controllers along with the single Frong Controller?

Thanks in advance.
 
author & internet detective
Posts: 40523
825
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would show both. See my answer in this thread for why.
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But we can show only sub-controllers ( I assume that you were talking about Backing Beans ), and not show the single Front controller ( Faces Servlet ) as it is part of the JSF Framwork, as long as we mention that in our assumptions, right ??
 
Siddhartha G Baruah
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your responses.

I am not talking about backing bean and I don't plan to use JSF. I was planning a front controller and one sub-controller(Command helper) per use case. But cade book was only showing controller in the class diagram. Now i think it is a good idea to include sub controller too.

What others think?
 
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic