I am working on a study project. There is JDBC. I do know that JSP translates to a servlet. I see that I can avoid almost all the servlets using JSP taglibs, EL... Should I do that?
Asked
Active
Viewed 91 times
1 Answers
1
Short answer: no.
JSP is for the view, and the view layer should be as dumb as possible.
Servlets (or other framework) are for marshalling between the web layer and the business layer.
The business layer (includes several buzzwords) is where the bulk of application logic should live.
Separation makes testing and extension substantially easier.

Dave Newton
- 158,873
- 26
- 254
- 302