I am struggling with Architecture level of Spring web application, Below I am making my pointers. Please help regarding the below:
Context Level Programing: Servlet Context and Root Application Webapplication context and Web Application context.
I don't know which bean needs to mention on which level.
What is the Hierarchy level of Context in Spring Web Application. which comes upper or lower.
Which context is under which context.
My Understanding is Servlet Context is the object of Servlet Container(tomcat container), and Servlet container is responsible to manage all the servlet, where all servlet lives.
All Bean dependecies Lives in Application container, and root web application context is the object of Application Container.
Every servlet have its own web application context, i don't know what is this, is it same as Servlet context.
4. And Relation between them?
Please describe it with help of diagram like this, (It will be really appreciable)
This is just example to understand which loads first and what is inside what. Please check this reference diagram