Skip to content

1.3 Writing a Spring application

Because you’re just getting started, we’ll start off with a relatively small change to the Taco Cloud application, but one that will demonstrate a lot of Spring’s goodness. It seems appropriate that as you’re just starting, the first feature you’ll add to the Taco Cloud application is a home page. As you add the home page, you’ll create the following two code artifacts:

  • A controller class that handles requests for the home page
  • A view template that defines what the home page looks like

And because testing is important, you’ll also write a simple test class to test the home page. But first things first … let’s write that controller.

Released under the MIT License.