Results 1 to 3 of 3
  1. #1
    dilanka007 is offline Member
    Join Date
    Jan 2010
    Posts
    11
    Rep Power
    0

    Exclamation Design MVC in java

    Well at the moment i m working on a design of a login system of a web app.

    i have a login page which submits data in to a front Controller(Servlet), and then this servlet pass this request to a Login controller which is another Servlet, which then talk to the necessary validations and then appropriately redirected to a jsp page which will then build the next client screen..

    Am i right in my design..
    can i actually have a front controller call servlet which just take the requests and forward those requests to other relevant servlets.

    Any help is appreciated thanks..

    Dilanka

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    Depends on how big your application is going to become.
    The fat controller problem has already been solved by struts which has already had improvements made over it (e.g stripes). Other frameworks like JSF use a different approach. Basically for big projects you are better off using one of the web frameworks already in use as they already solve many of the problems you will need to solve.

  3. #3
    dilanka007 is offline Member
    Join Date
    Jan 2010
    Posts
    11
    Rep Power
    0

    Default solved

    Thanks a lot.. well i just wanted to see whether this is implementable..
    I think i have got the answer thanks a lot.

Similar Threads

  1. Java design patterns
    By ajeeb in forum New To Java
    Replies: 4
    Last Post: 03-03-2009, 06:10 PM
  2. Java Design Problem
    By hencre in forum Advanced Java
    Replies: 2
    Last Post: 02-25-2009, 08:08 AM
  3. overall design of a java application
    By willemjav in forum New To Java
    Replies: 2
    Last Post: 08-20-2008, 12:37 AM
  4. A few questions about Java and design
    By ldb88 in forum New To Java
    Replies: 4
    Last Post: 12-07-2007, 01:51 AM

Tags for this Thread

Posting Permissions

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