liveBook · Manning

Spring Initializr

As explained in Spring AI in Action

Spring Initializr is a service that generates customizable Spring Boot project structures and build configurations.

Spring Initializr is the common service behind Spring Boot project-creation frontends, generating a customizable project structure and build configuration from selected metadata, build tools, versions, packaging, and dependencies. section 1.1.1

A typical Spring AI project initialization selects:

  • Groovy-based Gradle, JAR packaging, Spring Boot 3.5.5, and Java 24 or Java 17 and higher. section 1.1.1
  • Spring Web or Spring Reactive Web together with the Spring AI OpenAI starter. section 1.1.1
  • A generated build.gradle file that manages Spring AI dependencies through a bill of materials. section 1.1.1

Initializing a document-loader project

Create a Spring Boot project with the Initializr, then add the Spring Function Catalog file-supplier dependency and its BOM manually because it is not a starter dependency. Configure an available server port and vector-store properties afterward. section 4.3.1

Figure 1.2 Initializing a Spring AI project with the Spring Initializr
figure

Project-generation choices for a Spring AI application. section 1.1.1

How Spring AI in Action covers it

How deep it goes
Explains project choices and generated dependency management, then stops short of detailing the service implementation.
Examples
Uses Board Game Buddy, a vector-store loader, and a time-query application as generated-project examples.
What it assumes
Assumes familiarity with basic Spring Boot project choices while teaching dependency selection and generated-build setup explicitly.
What you can do after
Apply it via start.spring.io or an IDE frontend to generate and import a customized Spring Boot project.
How it connects
Connects Spring Boot, Spring AI, Gradle, dependency-management BOMs, Spring Web, Spring Cloud Function, and Spring Batch.

Also explained in

Compare how 3 books explain Spring Initializr →

Related concepts

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