Results 1 to 2 of 2

Thread: Architecture Design

  1. #1
    Join Date
    Mar 2005
    Location
    Chennai
    Posts
    3

    Default 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
    Regards,

    Rahjesh,
    Chennai,
    India.

  2. #2
    Join Date
    Aug 2004
    Location
    Auburn, AL, USA.
    Posts
    106

    Default

    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...).

Similar Threads

  1. What is the uml pattern in Spring Architecture ?
    By fraespre in forum Architecture
    Replies: 1
    Last Post: Aug 30th, 2005, 09:06 AM
  2. Replies: 1
    Last Post: May 29th, 2005, 06:03 AM
  3. SWF Architecture question 1 - Singleton
    By yfmoan in forum Web Flow
    Replies: 2
    Last Post: May 23rd, 2005, 03:15 PM
  4. Bean design question
    By egervari in forum Container
    Replies: 1
    Last Post: May 12th, 2005, 12:43 PM
  5. Replies: 6
    Last Post: Oct 8th, 2004, 02:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •