Java Spring Boot Download images from URL

I am beginner... I have to write a program that should download an image from a URL and store it in a database.

In database I have book table (100.000row...) I have to download pictures for these books. I have to download at once.

How can I do this with Spring Boot With REST?? (Or with multithreading) I will be grateful for help.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum