Your first Spring MVC application

Let's jump to creating a very simple Spring MVC web application. For the purpose of learning, we will develop the web version of Taskify, the task management system we started in Chapter 1, Getting Started with Spring Core. The samples in this chapter use Spring Tool Suite (STS) as the IDE, but you can use your favorite IDE, such as IntelliJ and NetBeans. Almost all Java IDEs support Spring development; most of them have plugins to manage Spring projects and artifacts.

To begin with, follow these steps; then, we will explore the code:

  1. Open STS or Eclipse → create a new project → type a project name → select a template, either Spring MVC Project or Simple Spring Web Maven → specify the top-level package name → finish. ...

Get Spring MVC: Designing Real-World Web Applications 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.