Help with MVC design pattern?
Posted
by
user3681240
on Programmers
See other posts from Programmers
or by user3681240
Published on 2014-06-01T05:28:17Z
Indexed on
2014/06/01
9:38 UTC
Read the original article
Hit count: 202
I am trying to build a java program for user login but I am not sure if my MVC design is accurate. I have the following classes:
- LoginControl - servlet
- LoginBean - data holder java class with private variables getters and setters
- LoginDAO - concrete java class where I am running my SQL queries and doing rest of the logical work.
- Connection class - java class just to connect to the database
- view - jsp to display the results
- html - used for form
Is this how you design a java program based on MVC design pattern? Please provide some suggestions?
© Programmers or respective owner