Baeldung
Read post

Introduction to Apache Causeway

Apache Causeway is a framework for building domain-driven applications on top of Spring Boot. Instead of writing controllers and templates, you define domain objects with properties, actions, and business rules — and Causeway generates both a Wicket web UI and a RESTful Objects API from the same metamodel. This walkthrough builds a small asset management application using Causeway 3.6.0, Java 21, and Maven. It covers project setup with EclipseLink JPA and H2, modeling an Asset entity with lifecycle states (AVAILABLE, ASSIGNED, RETIRED), exposing actions like assignTo() and retire(), enforcing business rules via supporting methods (disableX(), validateNX()), and creating a domain service backed by Spring Data JPA. The generated UI enforces validation without any custom controllers or templates, and the REST API is automatically available via the RESTful Objects viewer.

    #java#spring-boot#domain-driven-design
Jul 25•14m read time•From feeds.feedblitz.com
Post cover image
Table of contents
1. Overview2. Mental Model3. Building an Internal Asset Management Application4. Running the Internal Asset Management Application5. Conclusion
13.4K Impressions
Baeldung's image
Baeldung

Baeldung offers insights into Java development, Spring framework, and software architecture, providi...

3.1K Followers

•

7.7K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard