I am a java web application developer.
And I found I am coufused with the layers in the server side.
I do not mean the MVC(model/view/control) but the dao/service layers.
Dao layers is used to conntect the database.
Why the service layer?
Since we use the spring mvc framework now,I used to process the login in the control including call the dao to fetch data. Is the service layer necessary?