-
Notifications
You must be signed in to change notification settings - Fork 0
Week 34
Malte Hviid-Magnussen edited this page Aug 27, 2019
·
3 revisions
Day where we had to do our setup
Domain - maltemagnussen.com - Currently just redirects to my github page.
Questions
- How far you got with a solution
- Where the solution to each exercise can be found in your commit
- Which of the weekly learnings goals were covered by your solution
- I think I finished it all.
- myFirstJavaJpaApplication
- Oprette et basalt Java projekt med JPA og benytte annoteringer til at persistere entiteter i database. Redegøre for og demonstrere brug af begreber som EntityManager, EntityManagerFactory samt Persistence.xml. Demonstrere Insert og Select.
- I think I finished it all.
- rest1
- Oprette et Java projekt med REST endpoints. Implementere kode indeholdende de mest grundlæggende REST annotationer (GET kun). Håndtere parametre i REST endpoints i egne kodeeksempler. Redegøre for, og demonstrere det udleverede start project til brug for JPA/REST-projekter.
- I think I finished it all.
- extwo
- Same as above.
- I think I finished it all. Deployment
- JPA REST JSON
-
- Designe simple GET-endpoints med brug af en underliggende database tilgået via JPA
- Kunne redegøre for nødvendigheden af i brug af JSON
- Kunne redegøre for korrekt JSON syntaks
- Kunne redegøre for Data Tranfer Objects (DTO's) og serialisering mellem Java objekter og JSON
- Kunne konvertere frem og tilbage mellem Java objekter og JSON i egen kode
- I think I finished it all. Deployment
- JPA REST DTO
- Same as above
Example of testing in extwo project. You make a test database, then point to that via a new persistance connection and then choose that when you make your EntityManagerFactory("putest");
Another example of testing - Made post-deadline though, but it follows the same principles as above. This is a better example of testing though imo.