Thread: Spring MVC Flow

Forum : Spring WebMVC   4 Feb, 2019 18:57
User Image
AshutoshUP

Newbie

Joined: 14 Oct, 2018

Points: 100

Threads: 1

Posts: 9

Spring MVC Flow

| Quote Date : 4 Feb, 2019    Views:259    

Hi guys, This is Spring web MVC flow, not in deep just basic diagram.Go to below Attachment and download it and open with Paint .

1.) Front Controller(in case of Spring Web MVC it is a servlet named DispatcherServlet)(having common or boiler plate logic(like-RequestWrapping,HttpRequestMonitoring,View and Navigation Management,Validation etc.)
2.) Controller (for Request Processing)
3.) Command object(Or Form Object)(Pojo class)(hold form data)
4.) Service class(Business logic)(perform business operation on Form object data)
5.) DAO class(repository class)(for persistence logic) 
6.)  HandlerMapping(having information about Handler and maps incoming request uri with appropriate Handler or controller class)
7.) ViewResolver(having information about View)
8.) View Object

Load More

No More Comments