Web container | WebApplicationContext | Spring web MVC project flow | Theory breakdown

preview_player
Показать описание
In this video, We are going to see our project flow again. We will observe how the application is working by analyzing our project component again.
In many interviews, the interviewer asks about the spring MVC project flow. You kind of use this video to explain things step by step. Note that we are not yet covered view and
model. So we are going to exclude them for now and learn them later.

We will also understand about WebApplicationContext, which is the container for a spring framework web application. So below are the few highlights of this tutorial.

1. When dispatcher servlet initialize?
2. When does the spring container object create?
3. What is the difference between the application context and the web application context?
4. How are the controllers going to registred with container/Dispatcher Servlet?
5. How is the flow going through when hitting a request from a client?

Below diagram will give you an idea, how the spring MVC flow is working.

The server starts up — Dispatcher Servlet initializing — create a web application context from the spring config file —registred all the component with @controller annotation — Dispatcher Servlet initialization completed.

So let’s get started.

#SpringMVC #SpringFramework #SpringMVCFlow
If you are not aware of the spring core container(Application Context), here is the learning link for you

you can learn the complete spring core though the below link

Here is one more bonus for you :

MVC design pattern course :

For more videos in spring framework, consider subscribing by clicking the link below.

Stay tuned and like my Facebook page for more.

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

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

As we have not discussed view and model yet, I am keeping both of these things to the upcoming episode.

SeleniumExpress
Автор

Here are the answers to those last two questions in few lines:-
1. The web application context is the web app container which is created by the dispatcher servlet when the dispatcher servlet found its servlet.xml file.
2. The web application container object will be created automatically during the server startup & destroyed when we stop the server.

harisharma
Автор

Crystal clear in getting concepts . This is my first ever comment on YouTube.

praveenreddynandimandalam
Автор

Wow! You've put a lot of effort in producing this material for the community! Thank you very much! Your videos made me feel more confident to deal with a legacy project I'm working and I'm trying to add Spring to in order to standardize the architecture and make it more flexible. Keep the good work!

cleydyr
Автор

The way you cover small and deep concepts is really awesome. Please create Spring Boot tutorial also. Really looking forward to it :)

shilpaaggarwal
Автор

literally this is the best explaination i have seen, i couldnt understand anything about mvc what ever channel i see, but you made me ubderstand it easily with your teaching, really these is sometthing in you teaching

PAUL-nxre
Автор

The best channel in YouTube = "Selenium Express". Do more Videos Abhilash!!!

vakkalahari
Автор

You are the best teacher, thanks from South Korea

elmurodtadjibayev
Автор

Your explanation is very detailed and clean. Thank you !

jahangirkhan
Автор

It's wonderful to learn from you..please don't go anywhere without completed Spring Framework

shiddantsingh
Автор

Really needed this flow description.. thanks

s_cube
Автор

Sir,
Really I am a fan of you
Thanks a lot for your teaching.
It is my request kindly upload video in regular interval, . As after spring Core you din not uploaded any video, I harassed.

susantdash
Автор

Thank u sir I watched lot of video on springMvc but finally I got how actually it is worked

RiteshSingh-gqhh
Автор

sir, You are a good programmer as well good teacher.you saved my life...

shinoypb
Автор

Всё понятно и доходчиво объяснено, для новичков - великолепные видео.

antonmarkin
Автор

The DispatcherServlet is initialized when the application starts.
It looks for its configuration in XML file (dispatcher-servlet.xml by default, )
The DispatcherServlet uses this configuration to set up the WebApplicationContext, which contains the necessary beans (e.g., controllers, view resolvers).
After initialization, the DispatcherServlet handles all incoming HTTP requests, routing them to the appropriate controller and returning the corresponding response.

rajinsiam
Автор

Hello..
Am fan of your videos...u r teaching skills are awesome...
I saw many videos about this concept...bt u r video is very clear and u explaining each and every line which helps us a lot... waiting for more videos..All the best 😊

prathibhapubby
Автор

started seeing your videos just from yesterday and I am already a big fan of you sir...
I want to grasp all these concepts now...

shubhi
Автор

Great work! it surely helps many people like me. Thanks a lot!

priyaramasubbu
Автор

Sir your teaching is best ...thanks a lott sir am preparing for interviews it helps me lot

ashwinidikonda
join shbcf.ru