Skip to content

Commit 50dc1e6

Browse files
authored
domain back to dataaccess
1 parent b6559c2 commit 50dc1e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentation/guide-structure-modern.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For the modern project structure, the layers are defined by the following table:
4343
|=============================================
4444
|*Layer* | *«layer»* | *Description*
4545
|link:guide-service-layer.asciidoc[service]|`service`|The service layer exposing functionality via its remote API. Typical protocol is link:guide-rest.asciidoc[REST]. May also be any other protocol you are using such as https://grpc.io/[gRPC].
46-
|link:guide-domain-layer.asciidoc[domain]|`domain`|The domain with the data-model and DB access. Use sub-package (in `«detail»`) `repository` for link:guide-repository.asciidoc[repository] and `dao` for link:guide-dao.asciidoc[DAOs]. Also we recommend to put link:guide-jpa.asciidoc#entity[entities] in `model` sub-package.
46+
|link:guide-dataaccess-layer.asciidoc[dataaccess]|`dataaccess`|The data-access with the entities and DB access. Use sub-package (in `«detail»`) `repository` for link:guide-repository.asciidoc[repository] and `dao` for link:guide-dao.asciidoc[DAOs]. Also we recommend to put link:guide-jpa.asciidoc#entity[entities] in `model` sub-package.
4747
|link:guide-logic-layer.asciidoc[logic]|`logic`|The logic layer with the functionallity providing the business value.
4848
|link:guide-common.asciidoc[common]|`common`|cross-cutting code not assigned to a technical layer.
4949
|=============================================
@@ -57,7 +57,7 @@ we provide this architecture mapping:
5757
----
5858
«root»
5959
├──.link:guide-component.asciidoc#business-component[«component»]
60-
| ├──.link:guide-domain-layer.asciidoc[domain]
60+
| ├──.link:guide-dataaccess-layer.asciidoc[dataaccess]
6161
| | ├──.link:guide-repository.asciidoc[repo]
6262
| | | ├──.link:guide-repository.asciidoc#repository[«BusinessObject»Repository]
6363
| | | ├──.link:guide-repository.asciidoc#fragment[«BusinessObject»Fragment]
@@ -79,7 +79,7 @@ we provide this architecture mapping:
7979
| └──.model
8080
| └──.«BusinessObject»Dto
8181
└──.link:guide-component.asciidoc#general-component[general]
82-
└──.domain
82+
└──.dataaccess
8383
└──.model
8484
└──.ApplicationPersistenceEntity
8585
----

0 commit comments

Comments
 (0)