Chapter 1. Setting Up a Spring Web Application in No Time

In this chapter, we will get straight to the code and set up a web application, which we will be working on for the rest of this book.

We will leverage Spring Boot's autoconfiguration capabilities to build an application with zero boilerplate or configuration files.

I will lay out the big picture regarding how Spring Boot works and how to configure it. There are four ways to get started with Spring:

  • Using Spring Tool Suite to generate the starter code
  • Using IntelliJ IDEA 14.1, which now has good support for Spring Boot
  • Using Spring's website, http://start.Spring.io, to download a configurable zip file
  • Using the curl command line to http://start.Spring.io and achieving the same result

We will use ...

Get Mastering Spring MVC 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.