Skip to content

Commit a4a0fd2

Browse files
author
Fabian Baumeister
committed
Hexagonal Arch: Remove Factory questions as unrelated
A factory should not use further service or do some "black magic" to build an object. It should get all necessary data to create the object.
1 parent fb9f6da commit a4a0fd2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

modules/ROOT/pages/architecture/hexagonale_architecture.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
:imagesdir: ../images
22
// Open Questions/Discussion:
3-
// - If domain cannot access anything, how does the factory acess service to create a entity (for example using the postalcode service to get the user)
43
// - Is everything considered in the structure or are there things we cannot handle currently?
5-
// - What about shared technical elements? (AOP for logging accross multiple rest adapters)
6-
// - How to organize mutliple modules in a modular monolith and what about shared stuff there?
4+
// - What about shared technical elements? (AOP for logging across multiple rest adapters)
5+
// - How to organize multiple modules in a modular monolith and what about shared stuff there?
76
// - Should we really name the adapters after the protocol or more speaking (e.g. reservation for a inbound adapter for reservation)
8-
// - Is structurering core and adapters in packages enough or should we use gradle modules or java modules?
7+
// - Is structuring core and adapters in packages enough or should we use gradle modules or java modules?
98

109
// Todos:
1110
// - Create ADR (Architecture Design records)
@@ -61,6 +60,7 @@ image::hexagonal_component_architecture_overview.drawio.svg["devonfw hexagonal a
6160
// - ReservationJpaMapper.java
6261
// - TableJpaMapper.java
6362
// ----
63+
6464
[source,plaintext]
6565
----
6666
application/

0 commit comments

Comments
 (0)