Skip to content

Preface

This guide helps Java developers familiar with Spring understand Micronaut and build small applications with its dependency injection, HTTP, data, and testing APIs. The examples also include Kotlin, Kotlin Coroutines, and Groovy.

The examples use Java 25. Some projects use other JVM languages and may have language-specific prerequisites.

Get the examples

The micronaut-sandbox repository contains the example projects. Clone it with Git:

git clone https://github.com/hantsy/micronaut-sandbox.git

See Getting started for the example project index and Prerequisites before you build or run a sample.

Contribute

Report an issue or propose a change through a pull request in the GitHub repository.

About the author

Hantsy is an independent software engineer and consultant with more than 20 years of experience. For consulting inquiries, contact hantsy@gmail.com. You can also buy Hantsy a coffee.