Chapter 1. Creating a Spring Application

In this chapter, we will cover the following recipes:

  • Installing Java, Maven, Tomcat, and Eclipse on Mac OS
  • Installing Java, Maven, Tomcat, and Eclipse on Ubuntu
  • Installing Java, Maven, Tomcat, and Eclipse on Windows
  • Creating a Spring web application
  • Running a Spring web application
  • Using Spring in a standard Java application

Introduction

In this chapter, we will first cover the installation of some of the tools for Spring development:

  • Java: Spring is a Java framework.
  • Maven: This is a build tool similar to Ant. It makes it easy to add Spring libraries to a project. Gradle is another option as a build tool.
  • Tomcat: This is a web server for Java web applications. You can also use JBoss, Jetty, GlassFish, or WebSphere. ...

Get Spring Cookbook 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.