Announcement Announcement Module
Collapse
No announcement yet.
Architecture Design Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Architecture Design

    Hi,
    Usually in MVC we will have only one controller which will redirect the requests to the corresponding view. what about the Spring. Should we use only one controller or one controller per request. Im involved in devloping a web application in Spring. This involves User registration , User management, some reports etc. we have developed this by having a controller(Simple form controller) for each. Totally we are having 25 menus and about 50 views and each menu is having a controller. Is this architecture right?

    And can you give me some best practices in using Spring.

    Thanks

  • #2
    The Spring "Controllers" are really already delegated to from (usually) one DispatcherServlet. So, I would typically use something like one controller per view (except for Wizards, redirects, etc...).

    Comment

    Working...
    X