mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Add “Design Patterns” and “Persistence” to “Architecture decisions”
This commit is contained in:
parent
0ecf67b277
commit
ed3f6c59f2
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue