Spring MVC applications with the archetype plugin
Spring Model View Controller (MVC) is a web application framework developed under the Spring framework, which is an open source application framework and an inversion of control container. Here, we will see how to generate a template Spring MVC application using the spring-mvc-quickstart
archetype.
Note
To know more about the Spring MVC framework, refer to http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html.
Currently, the spring-mvc-quickstart
archetype is not available in any of the public Maven repositories, so we have to download it from GitHub and build from the source, as follows:
$ git clone https://github.com/kolorobot/spring-mvc-quickstart-archetype.git $ cd ...
Get Mastering Apache Maven 3 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.