Add “Design Patterns” and “Persistence” to “Architecture decisions”

This commit is contained in:
Theo Reichert 2023-11-11 19:46:11 +01:00 committed by Simon Bruder
parent 0ecf67b277
commit ed3f6c59f2
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -164,9 +164,19 @@ image:models/design/topLevelArchitecture.svg[]
==== Client-Server-Diagram
image:models/design/clientServer.svg[]
=== Design choices
* Verwendete Muster
* Persistenz
=== Architecture decisions
==== Design Patterns
* Spring MVC
==== Persistence
The application uses *Hibernate annotation based mapping* to map Java classes to database tables. As a database, *H2* is used.
The persistence is deactivated by default. To activate persistence storage, the following two lines in the file _application.properties_ have to be uncommented:
....
# spring.datasource.url=jdbc:h2:./db/videoshop
# spring.jpa.hibernate.ddl-auto=update
....
==== User interface
image:models/design/dialogue_map.svg[Dialog Map of the Videoshop]