Spring MVC
Spring MVC
Advantages of MVC
1. It provides separate models or roles
2. Which helps in code reusability which is easy to test. Which helps in rapid development
of application
DispatcherServlet
Steps to create maven project for spring mvc
1. Create a maven project with archetype webapp
2. Add spring web mvc and servlet dependencies
3. Create a configuration class
4. Create initializer class
5. Create controller class and design Api’s in it