diff --git a/src/main/asciidoc/developer_documentation.adoc b/src/main/asciidoc/developer_documentation.adoc index a5e7aa0..c25df98 100644 --- a/src/main/asciidoc/developer_documentation.adoc +++ b/src/main/asciidoc/developer_documentation.adoc @@ -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]