
References:
To get the most out of the tutorial, you should be comfortable using the Java Development Kit, version 8 (JDK 8). You'll also need to be familiar with Eclipse IDE, Maven, and Git.
To follow along with the tutorial, be sure this software is installed:
Get started using Spring Boot
Learn What You Can Do with Spring Boot
Spring Boot offers a fast way to build applications. It looks at your classpath and at the beans you have configured, makes reasonable assumptions about what you are missing, and adds those items. With Spring Boot, you can focus more on business features and less on infrastructure.
To follow along with the tutorial, be sure this software is installed:
- JDK 8 for Windows, Mac, and Linux
- Eclipse IDE for Windows, Mac, and Linux
- Apache Maven for Windows, Mac, and Linux
- Git for Windows, Mac, and Linux
Get started using Spring Boot
Spring-Starters
Starters are a big part of the magic of Spring Boot, used to limit the amount of manual dependency configuration that you have to do. If you're going to use Spring Boot effectively, you should know about starters.
A starter is essentially a set of dependencies (such as a Maven POM) that are specific to the type of application the starter represents.
All starters use the naming convention spring-boot-starter-XYZ, where XYZ is the type of application you want to build. Here are some popular Spring Boot starters:
Starters are a big part of the magic of Spring Boot, used to limit the amount of manual dependency configuration that you have to do. If you're going to use Spring Boot effectively, you should know about starters.
A starter is essentially a set of dependencies (such as a Maven POM) that are specific to the type of application the starter represents.
All starters use the naming convention spring-boot-starter-XYZ, where XYZ is the type of application you want to build. Here are some popular Spring Boot starters:
- spring-boot-starter-web is used to build RESTful web services using Spring MVC (Model-View-Controller design pattern. It implements all the basic features of a core spring framework like Inversion of Control, Dependency Injection) and Tomcat as the embedded application container.
- spring-boot-starter-jersey is an alternative to spring-boot-starter-web that uses Apache Jersey rather than Spring MVC.
- spring-boot-starter-jdbc is used for JDBC connection pooling. It's based on Tomcat's JDBC connection-pool implementation.
Learn What You Can Do with Spring Boot
Spring Boot offers a fast way to build applications. It looks at your classpath and at the beans you have configured, makes reasonable assumptions about what you are missing, and adds those items. With Spring Boot, you can focus more on business features and less on infrastructure.
Tutorial
- setting up and running a simple Spring Boot application called HelloSpringBoot
- build and exercise a Spring MVC RESTful web services application using Spring Boot