01 JPA Basics
First day on 3rd semester, welcome back!
On 2nd semester we install Postgres 16.2 and PgAdmin in Docker Containers on our local machines. If you have lost the installation - or want a fresh beginning, please follow the guide here: Setting up Postgres on Localhost.
- Read this page describing the portfolio concept for this semester. In particular, focus on the section about “Project Ideas”.
- What is ORM?
- What is JPA?
- Getting to know Lombok - Warm up
- Points Exercise - Your first JPA projects
- Unicorn JPA CRUD - Scale it up a bit
- Unicorn Snippets
Portfolio workshop and exercises on JPA.
- Java annotations. Get an introduction to Java annotations to get a better understanding of what on earth a annotation is.
For Monday: Create a small presentation that you can show on Monday during feedback with your ideas. The presentation should include:
- A short description of each idea
- Pros and Cons of each idea
- Ideas for how the UI could look like (just think about it - or sketch something on paper)
Goal: Get started on your portfolio project and create the first entity with JPA CRUD operations.