Results 1 to 3 of 3
Thread: Design MVC in java
- 01-06-2010, 11:31 AM #1
Member
- Join Date
- Jan 2010
- Posts
- 11
- Rep Power
- 0
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
- 01-06-2010, 11:43 AM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
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.
- 01-06-2010, 12:34 PM #3
Member
- Join Date
- Jan 2010
- Posts
- 11
- Rep Power
- 0
Similar Threads
-
Java design patterns
By ajeeb in forum New To JavaReplies: 4Last Post: 03-03-2009, 05:10 PM -
Java Design Problem
By hencre in forum Advanced JavaReplies: 2Last Post: 02-25-2009, 07:08 AM -
overall design of a java application
By willemjav in forum New To JavaReplies: 2Last Post: 08-19-2008, 11:37 PM -
A few questions about Java and design
By ldb88 in forum New To JavaReplies: 4Last Post: 12-07-2007, 12:51 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks