Josh Long

Bootiful Spring Boot 3

Build faster, more efficient microservices. Spring Boot 3 brings first-class GraalVM support for instant startup and a tiny memory footprint.

Bootiful Spring Boot 3
#1about 5 minutes

Getting started with a new Spring Boot 3 project

Bootstrap a new application using start.spring.io, selecting key dependencies and establishing the required Java 17 baseline.

#2about 5 minutes

Building a simple data-driven web service

Create a basic REST API using Java records for entities, JdbcTemplate for data access, and a standard RestController.

#3about 12 minutes

Improving production readiness with error handling and observability

Implement centralized error handling using Problem Details and add metrics and tracing with the unified Micrometer Observation API.

#4about 10 minutes

Understanding and building GraalVM native images

Learn how Spring Boot 3's ahead-of-time (AOT) engine supports GraalVM by analyzing the application context to generate the necessary native configuration.

#5about 2 minutes

Analyzing native image performance benefits

Observe the significant performance gains of a GraalVM native image, including near-instant startup times and a drastically reduced memory footprint.

#6about 2 minutes

Proxying requests with Spring Cloud Gateway

Use the RouteLocatorBuilder in Spring Cloud Gateway to programmatically define routes that proxy requests to downstream services with custom filters.

#7about 3 minutes

Creating declarative type-safe HTTP clients

Define a Java interface with @GetExchange annotations to let Spring Framework 6 automatically generate a type-safe, reactive HTTP client implementation.

#8about 10 minutes

Exposing a federated API with GraphQL

Combine data from downstream services into a single, unified graph by creating a GraphQL schema and implementing query resolvers in a Spring controller.

#9about 16 minutes

Q&A on GraalVM, Project Loom, and gRPC

Discuss the future of Java performance, including GraalVM adoption, the impact of Project Loom on reactive programming, and choosing between GraphQL and gRPC.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

From learning to earning

Jobs that call for the skills explored in this talk.