Skip to content
@java-backend-architecture

Java Backend Architecture

Backend reference implementations demonstrating persistence, messaging, security and observability concepts using modern Spring architecture.

Java Backend Architecture

Reference implementations of backend architecture patterns.

Each repository explores one concept in isolation — structure, boundaries, design decisions.

Focus areas

  • Clean Architecture · Hexagonal · DDD
  • Application layering and use-case design
  • Infrastructure and integration patterns
  • API design and communication styles

Repositories

Graph Extraction

Repository What it demonstrates
persistence-graph-extraction-jdbc Object graph from flat SQL JOIN results — manual deduplication via computeIfAbsent
persistence-graph-extraction-jooq Object graph using jOOQ MULTISET — no projections, no deduplication
persistence-graph-extraction-jpa Object graph using JPA + Blaze Persistence Entity Views — optimized queries, no N+1

Pagination

Repository What it demonstrates
persistence-flat-pagination-jdbc Offset-based pagination for flat entity queries — LIMIT / OFFSET and COUNT(*)
persistence-flat-pagination-sorting-jdbc Pagination with multi-field sorting — dynamic ORDER BY with SQL injection protection
persistence-graph-pagination-jdbc Pagination over a multi-level object graph — subquery prevents JOIN row truncation

Author

Dmitrii Russu

Popular repositories Loading

  1. .github .github Public

    Organization profile repository

  2. persistence-graph-extraction-jdbc persistence-graph-extraction-jdbc Public

    Demonstrates object graph extraction from a relational database using plain JDBC (JdbcClient) — flat SQL JOIN results assembled into a three-level hierarchy without ORM or pagination.

    Java

  3. persistence-graph-extraction-jooq persistence-graph-extraction-jooq Public

    Demonstrates object graph extraction using jOOQ MULTISET — nested SQL collections mapped directly into a three-level hierarchy without ORM, projections, or pagination.

    Java

  4. persistence-graph-extraction-jpa persistence-graph-extraction-jpa Public

    Demonstrates object graph extraction using JPA entities and Blaze Persistence Entity Views — graph fetching without N+1, without manual mapping, without pagination.

    Java

  5. persistence-graph-pagination-jdbc persistence-graph-pagination-jdbc Public

    A JDBC-based example of paginating aggregate roots and extracting complete object graphs without breaking pagination semantics.

    Java

  6. persistence-flat-pagination-jdbc persistence-flat-pagination-jdbc Public

    A minimal JDBC example of offset-based pagination for flat entity queries.

    Java

Repositories

Showing 7 of 7 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…