Skip to content

Commit

Permalink
Merge branch 'master' into dev_jib
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille committed Mar 5, 2021
2 parents 814cd10 + c362e30 commit fdc44d3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion documentation/guide-dataaccess-layer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ toc::[]

= Data-Access Layer

The data-access layer is responsible for all outgoing connections to access and process data. This is mainly about accessing data from a persistent data-store but also about invoking external services.
The data-access layer is responsible for all outgoing connections to access and process data. This is mainly about accessing data from a persistent data-store. External system could also be accessed from the data-access layer if they match this definition, e.g. a mongo-db via rest services.

== Database

Expand Down
6 changes: 5 additions & 1 deletion documentation/guide-jms.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@ public class BookingJmsListener /* implements MessageListener */ {
----

== Sender
A sender of messages is writing to a data storage and hence is located in the link:guide-dataaccess-layer.asciidoc[dataaccess-layer].

The sending of JMS messages is considered as any other sending of data like link:guide-kafka.asciidoc[kafka] messages or RPC calls via link:guide-rest.asciidoc[REST] using link:guide-service-client.asciidoc[service-client], gRPC, etc.
This will typically happen directly from a link:guide-usecase.asciidoc[use-case] in the link:guide-logic-layer.asciidoc[logic-layer].
However, the technical complexity of the communication and protocols itself shall be hidden from the use-case and not be part of the logic layer.
With spring we can simply use https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/jms/core/JmsTemplate.html[JmsTemplate] to do that.
2 changes: 1 addition & 1 deletion documentation/guide-logic-layer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It is very important that you follow the links to understand the concept of comp

== Responsibility
The logic layer is responsible to implement the business logic according to the specified functional demands and requirements.
Therefore, it creates the actual value of the application.
Therefore, it creates the actual value of the application. The logic layer is responsible for invoking business logic in external systems.
The following additional aspects are also included in its responsibility:

* link:guide-validation.asciidoc[validation]
Expand Down

0 comments on commit fdc44d3

Please sign in to comment.