Why MVC ? || MVC Best practices || MVC using Servlet and JSP and JDBC

preview_player
Показать описание
So A typical Java web application which follows MVC architecture goes like this.
A controller which is a servlet is going to deal with the business logic.The controller is also going to responsible for handling the request from a view and gathering data from a model and processing those data to a view(JSP page).

A view will be a JSP or an HTML page which takes care of the presentation layer.In the view, we are only going to put the UI code and we should try to avoid writing java code inside a view.(If not necessary).So no more large scriptlet code inside the JSP.

To get the data from the model we can write a simple class which will talk to the model and will get the data from the database and passes those data to the controller and the controller further passes those data to the view.

Once we are ready with this concept we are going to develop a complete java ee application using MVC.So before we go further building a web MVC project in Java, we should keep these things in mind(controller - business logic, view - UI code, model - Database related code).

Access the complete playlist with below link :

MVC in java complete playlist with theory

MVC in java complete playlist(Only project)

subscribe to my channel by clicking on the link below.

Stay tuned and like my Facebook page for more.

Music :
-----------
credits : -
1)
Creative Commons — Attribution 3.0 Unported— CC BY 3.0

(intro)

2)
NCM Epic Music Ender Guney

-----

intro template :
Рекомендации по теме
Комментарии
Автор

Hi, just wanted to let you know that you are doing a great job for experience and for freshers too Loving your videos and your super simple way of teaching.

honeyprachi
Автор

Good Teacher !! Very Helpful well explained :D

dotsysdev
Автор

your way of explaining is very easy to grasp the technology. you are a professor

shinoypb
Автор

excellent way to explain things with smiley face, I love ur video it was first now subscribed you and will follow u. Thanks

inayatkhan
Автор

my dear brother i love u ... thnx a lot for helping

laraibanwar
Автор

man please, keep going. you are really cool

SummaryEgNews
Автор

ur videos are awesome seriously... make vio on singleton design pattern considering all possible loop holes

shraddhaagarwal
Автор

you are excellent teacher! I really want to donate for you, guy!!!

aonam
Автор

Good tutorial...Saved life ..god bless you

shinoypb
Автор

u r videos are super sir, I want one trining institute case study using servlet and jsp backend mysql

shaiksharoon
Автор

can u provide one video on that trining institute case study plz this is very importent sir

shaiksharoon
visit shbcf.ru