liveBook · Manning

Spring Boot

As explained in Vibe Engineering

Spring Boot is a framework for building and configuring Spring-based applications with convention-over-configuration support.

Spring Boot provides a modern Spring application runtime and entry point, using convention-oriented dependencies and configuration to replace legacy Jakarta EE, CDI, and EJB patterns. section 2.1 section 2.5.1

A disciplined migration starts with a minimal set of changes rather than broad redesign. The application entry point, persistence, REST layer, configuration, and dependent event service may need coordinated updates. section 2.5.1

A representative Spring Boot migration includes:

  • Create a KitchensinkApplication class and launch it with SpringApplication.run. section 2.5.1
  • Use Spring Data JPA repositories, Spring REST annotations, and ApplicationEventPublisher for related application components. section 2.5.1
  • Configure the server, context path, Thymeleaf, and an H2 database through application properties. section 2.5.1
  • Run the test suite after each focused change and treat passing tests as evidence against migration regressions. section 2.5.1
 <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>3.2.3</version>
        <relativePath/>
    </parent>
 
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
       <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-jpa</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-validation</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-thymeleaf</artifactId>
        </dependency>
    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
 

Inspect the Maven parent and starter dependencies used to assemble the Spring Boot application, including web, JPA, validation, and Thymeleaf support. section 2.5.1

How Vibe Engineering covers it

How deep it goes
Descends through entry-point, dependency, persistence, REST, event, and configuration changes, but stops short of a full architectural redesign.
Examples
Demonstrates a JBoss Kitchensink migration with a main application class, member repository, REST endpoint, H2 properties, and passing tests.
What it assumes
Assumes little application and technology knowledge while requiring recognition of existing Java, Jakarta EE, persistence, REST, and event components.
What you can do after
Apply it via Spring Boot starters, annotations, repositories, properties, and focused tests to migrate a legacy Java application.
How it connects
Connects Spring Boot with Java, Jakarta EE, CDI, EJB, Spring Data JPA, REST, Thymeleaf, H2, and application events.

Also explained in

Compare how 9 books explain Spring Boot →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Vibe Engineering. The section links point to the parts of the book it draws on.