World Congress 2026 Europe Jul 10, 2026 Session details

Code Once, Use Everywhere: Building Shared Libraries for Multiple Projects

Vadzim Prudnikau

Shared Spring Boot libraries often devolve into maintenance nightmares. It doesn't have to be this way. Learn to architect modular, auto-configured components developers actually want to use.

Pause
Mute Enter Fullscreen
#1 about 4 min

Introduction to building shared Spring Boot libraries

An overview of the challenges and core agenda for developing sustainable shared packages.

#2 about 2 min

Determining when to extract code into a shared library

Specific indicators that code should be abstracted, such as repeated bug fixes and cross-project technical needs.

#3 about 3 min

Identifying logic to exclude from shared libraries

Why placing business logic and unstable features into a shared space leads to tightly coupled dependencies.

#4 about 4 min

Designing the global structure of a shared library

Establishing library structures with modular inclusion properties and standardized generic Maven configurations.

#5 about 5 min

Organizing code at the module and submodule levels

How to decouple framework-agnostic client logic from Spring-specific autoconfigurations and starter artifacts.

#6 about 4 min

Managing Spring configurations and bean definition overrides

Using autoconfiguration and conditional annotations to enhance performance and securely override context defaults.

#7 about 3 min

Enforcing code quality rules across client projects

Automating dependency cycle checks and standardized test formatting with tools like EditorConfig and ArchUnit.

#8 about 2 min

Creating discoverable and accessible library documentation

Best practices for writing explicit integration guidelines and code examples that assist junior developers.

#9 about 2 min

Streamlining contribution processes to aid maintainability

How straightforward setup routines encourage external collaboration and reduce maintaining overhead for authors.

#10 about 3 min

Applying semantic versioning and maintaining changelogs

Communicating library modifications effectively by mapping major and minor package revisions to explicit build IDs.

#11 about 2 min

Handling legacy versions and validating package builds

Why updating entirely to latest major versions ensures security patching while referential builds verify deployment safety.

#12 about 3 min

Encouraging shared library adoption through organizational advertising

Why advertising new internal tools verifies actual demand more efficiently than establishing strict enterprise usage requirements.

Matching moments

2:22 min

Q&A on source code sharing and library coupling

Manfred Steyer Manfred Steyer · World Congress 2021

3:08 min

Sharing core dependencies for performance and team autonomy

Serg Hospodarets · LIVE

1:59 min

Managing library dependencies and enforcing consistent code style

Johan Hutting Johan Hutting · World Congress 2024

4:49 min

Managing shared dependencies across isolated teams

Luca Mezzalira Luca Mezzalira · JS Congress

2:19 min

Simplifying solution structures and splitting shared projects

Dennis Doomen Dennis Doomen · World Congress 2026 Europe

49 sec

Structuring projects with Java and Spring Boot

Michael Eder +1 · LIVE

Upcoming sessions on this topic

Open session

World Congress 2026 North America

September 24, 2026 · 16:50–17:20

Stage 3

Merging at Scale: From Broken Builds to Green Mainline

Manjari Akella, Preetam Dwivedi

Manjari Akella
Preetam Dwivedi
Open session

World Congress 2026 North America

September 25, 2026 · 13:30–14:00

Stage 9

On the Public Clock: Open-Source Defense When You're Not in the Club

Nicholas Muy

VP Engineering Platform and Security at Scrut.io

Nicholas Muy
Open session

World Congress 2026 North America

September 24, 2026 · 16:10–16:40

Stage 4

From Cloud Native to Multi-Cloud Native: Write Once, Deploy Anywhere

Sandeep Pal

Principal Member of Technical Staff at Salesforce

Sandeep Pal
Open session

World Congress 2026 North America

September 24, 2026 · 14:10–14:40

Stage 9

One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World

Bartosz Leczycki, Paweł Matynia

Bartosz Leczycki
Paweł Matynia
Open session

World Congress 2026 North America

September 24, 2026 · 14:55–15:05

Outdoor Stage

In-Person by Default: Principles & Practices for Building Developer Meetups

Steve Chen

Executive Director and Founder at Code & Coffee

Steve Chen
Open session

World Congress 2026 North America

September 24, 2026 · 10:20–10:50

Stage 6

Practices, Not Prompts: Scale GitHub Copilot with AI-Ready Repositories

Luis Pujols

Staff Customer Success Architect, GitHub

Luis Pujols