# mattia-battiston/clean-architecture-example

Clean Architecture Example (Java): Example of what clean architecture would look like (in Java)

Repository: https://github.com/mattia-battiston/clean-architecture-example
Canonical: https://ross.abutalabs.com/products/clean-architecture-example
Language: Java
License Family: other
Last push: 2024-01-08T06:37:52+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3828, "days_push": 968, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1782, forks 401 (observed 2026-08-28T04:05:35.704708+00:00)

## What it is
An example Java project demonstrating what Clean Architecture looks like in practice, created to accompany a presentation. It illustrates structuring an application around use cases rather than frameworks or the database.

## Use cases
- learn clean architecture in java
- example of hexagonal architecture project
- how to structure a java app around use cases
- reference for separating business logic from frameworks
- teaching software architecture patterns
- see a testing strategy for layered architecture

## When to choose
- you want a concrete, readable Java codebase to learn Clean Architecture concepts
- you are preparing a talk or training material on architecture
- you want an example of keeping business logic independent of frameworks and the database

## When to avoid
- you need a production-ready framework or starter template
- you need a maintained library with a license for commercial reuse
- you work outside the JVM/Java ecosystem

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools, testing
- domain: developer-tools, tutorials
- platform: jvm
- tags: clean-architecture, java, example-project, software-architecture, hexagonal-architecture, educational, algorithms

## Member repositories
- mattia-battiston/clean-architecture-example (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.704708+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:24:22.259939+00:00, confidence not recorded.
  - readme: https://github.com/mattia-battiston/clean-architecture-example (fetched 2026-08-28T04:05:35.704708+00:00, sha 52fcc3f29df9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
