04 Data Integration
Topics covered in this week are:
- Java Executor Service
- Java Futures and Callables
- Json
- DTO
- Fetching data from an API
Online review on the Friday assignment:
- What did you solve?
- Show your code an run it in IntelliJ
- Think about what you could have done differently
- What did you learn?
- Questions for the review team
For the rest of the day: Prepare for the week. Watch the videos and read the articles.
Watch this video:
Skim through these inhouse articles:
- What is an URI?
- What is JSON?
- What is a DTO?
- JSON and DTO conversions
- What is a REST API?
- What is Jackson?
- Fetching json from an API
Extras (if you want to practice more):
Time to code!
Watch these videos:
Read this tutorial:
These in-house articles are great for todays class:
- For the Friday exercise, you will be working on your portfolio project. You should use the knowledge you have gained this week to fetch data from an API and integrate it into your project. You can choose any API you like, but make sure it is relevant to your project and that you can fetch data from it using Java.
- You should also use the Java Executor Service to fetch data from the API in a separate thread, so that your application remains responsive while waiting for the data to be fetched.
- Make sure to document your code and reflect on the problems you solved and the choices you made in your weekly log. This will help you prepare for the Monday review, where you will present your work and discuss it with your peers and instructor.