Skip to main content

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 are and how to use them
  • How to use DevCenter to track migrations and upgrades

Prerequisites: Basic Java knowledge and command line familiarity.

Start workshop →

Fundamentals of recipe development​

Build the skills needed to customize and build OpenRewrite recipes. Explore YAML, the Kotlin recipe DSL, 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 the Kotlin recipe DSL for pattern-based 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.

Start workshop →

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.

Start workshop →

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.

Start workshop →

AI-assisted recipe authoring​

Use AI as a co-author to build an OpenRewrite migration recipe from scratch. Learn a repeatable loop for planning, building, and testing recipes with an AI coding agent and the Moderne CLI.

What you'll learn:

  • A repeatable loop for AI-assisted recipe development (plan → build against real test cases → run on real repositories → iterate)
  • How to guide AI to choose the right recipe type (declarative YAML, imperative Java, Refaster templates)
  • Why test-driven development is a natural fit for AI-generated recipes
  • How to validate AI-generated recipes against real-world repositories
  • Techniques for reviewing, correcting, and improving AI output

Prerequisites: Java development experience and basic OpenRewrite concepts. Complete the Fundamentals workshop first if you're new to recipe authoring.

Start workshop →

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.