Skip to Main Content
Spring: Microservices with Spring Boot
book

Spring: Microservices with Spring Boot

by In28Minutes Official
March 2018
Intermediate to advanced content levelIntermediate to advanced
140 pages
2h 42m
English
Packt Publishing
Content preview from Spring: Microservices with Spring Boot

Spring Boot Hello World

We will start with building our first Spring Boot application in this lesson. We will use Maven to manage dependencies.

The following steps are involved in starting up with a Spring Boot application:

  1. Configure spring-boot-starter-parent in your pom.xml file.
  2. Configure the pom.xml file with the required starter projects.
  3. Configure spring-boot-maven-plugin to be able to run the application.
  4. Create your first Spring Boot launch class.

Let's start with step 1, configuring the starter projects.

Configure spring-boot-starter-parent

Let's start with a simple pom.xml file with spring-boot-starter-parent:

 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Microservices with Spring

Building Microservices with Spring

Dinesh Rajput, Rajesh R V
Spring Microservices in Action

Spring Microservices in Action

Kalpit Patel, John Carnell
Developing Java Applications with Spring and Spring Boot

Developing Java Applications with Spring and Spring Boot

Claudio Eduardo de Oliveira, Greg L. Turnquist, Alex Antonov

Publisher Resources

ISBN: 9781789132588Supplemental Content