Skip to content

Modular monolith with Hexagonale Architecture #42

@baumeister25

Description

@baumeister25

Explain how a modular monolith can be structure with java and maven.

The current idea is to use maven modules to:

  • structure the overall application into business components. Each component becomes a separate maven module
  • structure each business component
    • The core as an own module
    • Each adapter an own module

To get the dependencies aligned use the dependency management of maven and create an application wide parent.pom to controll versions and used libraries

The article should be splitted into two parts:

  1. Explain the modularization of one business component
  2. Explain the modularization into business components.

In general give an overview of the benefits and concerns of this approach compared with a package structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions