Skip to content

Create your project

Start a new Mateu project from one of the three front doors below, or add Mateu to an existing project by hand. Either way there is no separate frontend project.

All three front doors generate the same project, from the same templates: the official starters, which CI compiles and boots on every change. The Mateu version is the latest release on Maven Central.

Front doorHow
IntelliJ IDEA (Mateu plugin)File › New › Project… › Mateu — choose the options, the project opens when it is created.
VS Code (Mateu extension)Command palette › Mateu: New Project… — quick picks, then a folder; the project opens when it is created.
Mavenmvn archetype:generate -DarchetypeGroupId=io.mateu -DarchetypeArtifactId=mateu-archetype -DarchetypeVersion=3.0-beta.57 -DgroupId=com.acme -DartifactId=my-app -Dauthoring=code

The first choice is how you author the UI:

AuthoringWhat you getRuntimes
CodeScreens are classes: @UI (Java), [UI] (C#) or @ui (Python). An app shell with a menu, a home page and a Product CRUD — or, with the Home only sample, the shell and the home page alone.Spring Boot MVC/WebFlux, Quarkus, Micronaut, Helidon MP, .NET, Python
YAML only, served by a backendNo UI code at all: the Spring Boot main class plus src/main/resources/specs/ui/ — a type: UI mount (with its home:), routes.yaml, an app shell, a home page, a listing and sources.yaml with sample data. See the YAML quickstart.Spring Boot MVC
YAML only, staticNo backend: the same YAML, bundled at build time into a folder of static files for any CDN.none — mvn package writes target/mateu-bundle/
Code + YAMLApp shell, routes and the home page as YAML; the Product CRUD as a Java view model bound in routes.yaml.Spring Boot MVC/WebFlux, Quarkus

Whatever you pick, the project runs out of the box and opens on its home page; with the products sample, the home page’s call to action and the Products menu entry lead to the products.

Then, where they apply: the runtime, the renderer (Vaadin, or Oracle Redwood for Spring Boot), the sample to start from, sample pages from the page templates (for the YAML flavours, in the IDEs) and the Maven coordinates. The archetype takes -Dauthoring=code|yaml|static, -Drenderer=vaadin|redwood and -Dsample=crud|empty, on Spring Boot (MVC), with any JDK from 21 on. The build tool is Maven.

Every generated project carries an AGENTS.md — what the project is, its layout, how to run it, where the UI is declared and the rules an AI assistant must respect (view models are per request, store() on AutoCrud, routes.yaml…, or for a YAML-only project: edit specs/ui, add no Java UI) — and a CLAUDE.md that imports it, so Claude Code and the tools that read AGENTS.md (Codex, Cursor, Copilot…) get the same guidance. See Use Mateu with AI assistants.

The setup is a Maven dependency plus an annotation processor.

FrameworkModule
Spring Boot MVCmateu-mvc
Spring Boot WebFluxmateu-webflux
Quarkusmateu-quarkus
Micronautmateu-micronaut
Helidon MPmateu-helidon-mp

All integrations follow the same steps:

  1. Import io.mateu:mateu-bom (so no Mateu artifact needs its own version)
  2. Add the framework-specific Mateu core dependency
  3. Add the annotation processor to the compiler’s processor path (never as a regular dependency)
  4. Add a renderer dependency (choose your design system)

The annotation processor generates the framework-specific controllers and routes from your @UI classes at compile time. You do not write controllers by hand.

All five adapters serve the same HTTP contract — the UI endpoints, streamed actions (Server-Sent Events, e.g. a LongTask), the SPA deep-link fallback, the renderers’ error log, asset caching, YAML-defined mounts and the optional MCP endpoint — and read the same configuration properties. Cross-origin access and MCP are off until you turn them on.

All integrations support the same set of frontends — change renderer by swapping one dependency:

ArtifactDesign system
mateu-vaadinVaadin (default, recommended)
mateu-redwoodOracle Redwood, on Visual Builder — loads Oracle’s components from its CDN under your Oracle terms (licensing)

See Prerequisites for Java version and build tool requirements.