SPRINGMVC the specific process of the core architecture

Source: Internet
Author: User
Tags map data structure

the specific process steps for the core architecture are as follows:1, the first user sends the request-->dispatcherservlet, the Front controller receives the request not to carry on the processing, but entrusts to the other parser to carry onprocessing, as a unified access point, the global process control;2,dispatcherservlet-->handlermapping, handlermapping will map the request to a Handlerexecutionchain object (containing aHandler Processor (page Controller) object, multiple Handlerinterceptor Interceptors) object, this policy mode makes it easy to add a newmapping strategy;3,dispatcherservlet-->handleradapter,Handleradapter will wrap the processor as an adapter to support multiple types of processors,the application of adapter design mode, which makes it easy to support many types of processors;4,handleradapter--> Processor function processing method call,Handleradapter will be based on the results of the adaptation to call the real processor functionfunction processing, and returns a Modelandview object (containing model data, logical view name);5,modelandview logical View name ----Viewresolver, Viewresolver will parse the logical view name into a specific view, through this policyeasy to replace other view technologies;6,view--> rendering , the View will be based on the model data passed in to render, here the model is actually a map data structure, soIt is easy to support other view technologies;7, return control to Dispatcherservlet, by Dispatcherservlet return response to the user, to this end of a process.

SPRINGMVC the specific process of the core architecture

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.