Overview
Explore a step-by-step approach to migrating a Spring Boot application to Java Modules in this 50-minute conference talk from Devoxx. Learn how to leverage the power of modules in your own application, even with limited library adoption. Discover practical techniques for making your application modular using everyday Java ecosystem technologies, applicable to both Java and Kotlin. Follow along as the speaker guides you through upgrading dependencies, reducing problem space, compiling, creating a modular structure, describing modules, importing modules, and addressing challenges like split packages and automatic modules. Gain insights into testing strategies, security considerations, and module descriptor creation for different application components. Conclude with a bonus round on main module implementation and a comprehensive summary of the migration process.
Syllabus
Introduction
Modules introduction
Maven Gradle
Adoption
Whats holding us back
Back in time
Legacy
Runtime
Challenges
Split Packages
Automatic Modules
Demo Application
Step 1 Upgrade dependencies
Step 2 Reduce problem space
Step 3 Compile
Step 4 Modular Structure
Step 5 Module Describing
Step 6 Importing Module
Step 7 Postman
Step 8 Security
Step 9 Testing
Step 10 Testing
Module Descriptor
Migrating Application Module
Model Module Descriptor
Model Module Errors
Split Package Issue
Testing
Login
Copy Paste
Final Tests
Bonus Round
Main Module
Summary
Taught by
Devoxx