Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modular monolith with Hexagonale Architecture #42

Open
baumeister25 opened this issue Aug 9, 2023 · 0 comments
Open

Modular monolith with Hexagonale Architecture #42

baumeister25 opened this issue Aug 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@baumeister25
Copy link
Contributor

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.

@baumeister25 baumeister25 added the enhancement New feature or request label Aug 9, 2023
baumeister25 added a commit to baumeister25/java that referenced this issue Aug 9, 2023
Removed the open comments.
Added the multiple monoltih question as a open issue in github devonfw#42.

Removed the records recommendation, as records cannot be inherited. That
might lead to problems with large and complex domain models.

Refs: devonfw#39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant