Hands-on learning
Learn OpenRewrite and Moderne through interactive, self-paced workshops. Whether you're just getting started or looking to master advanced techniques, these workshops will help you build practical skills.
Available workshops
Introduction to OpenRewrite
Learn how OpenRewrite works and get hands-on experience running recipes using the Moderne CLI and the Moderne Platform.
What you'll learn:
- Key concepts of OpenRewrite: LSTs, visitors, and recipes
- How to set up and run recipes using the Moderne CLI
- How to use the Moderne recipe builder to compose and customize declarative YAML recipes
- What search markers, data tables, and visualizations and how to use them
- How to use DevCenter to track migrations and upgrades
Prerequisites: Basic Java knowledge and command line familiarity.
Fundamentals of recipe development
Build the skills needed to customize and build OpenRewrite recipes. Explore YAML, Refaster, and imperative Java approaches to writing recipes.
What you'll learn:
- Setting up a recipe development environment
- Creating your own declarative YAML recipes
- Scoping recipes using preconditions
- Testing and validating recipe logic
- Using Refaster for pattern-based Java transformations
- How to write and run imperative Java-based recipes
Prerequisites: Java development experience and familiarity with Maven or Gradle. Complete the Introduction workshop first if you're new to OpenRewrite.
Advanced recipe development
Master deeper, more powerful features of the OpenRewrite and Moderne ecosystem. Build scanning recipes, extract insights with data tables, and compose complex workflows.
What you'll learn:
- How to set up and optimize your development environment for recipe authoring
- Debugging techniques using both the CLI and the IntelliJ plugin
- How to build scanning recipes that analyze multiple files across a codebase
- Using traits to model higher-level abstractions in recipes
- Writing and analyzing data tables to extract insights from source code
- Generating code and composing imperative workflows from existing recipes
Prerequisites: Comfortable writing declarative and imperative OpenRewrite recipes. Complete the Fundamentals workshop before starting this one.
Preparing for a Spring Boot migration
Plan and execute a Spring Boot 4 migration with confidence. Learn to assess your codebase, organize upgrade waves, and handle blockers systematically.
What you'll learn:
- How to perform a dry run and understand what failed
- How to find which Java and Spring Boot versions you're using
- How to plan upgrade waves using dependency data
- How to set a stable baseline before major upgrades
- How to handle third-party blockers like QueryDSL
Prerequisites: Basic Java and Maven knowledge, comfortable with CLI commands and git. Moderne CLI version 3.55.3 or higher required.
Need help?
If you get stuck or have questions, join the community:
Live training
Looking for instructor-led training? Check out upcoming live OpenRewrite training sessions.