Search⌘ K
AI Features

Challenge: Reservation Queue

Explore how to implement a reservation queue in a library system using Spring Data Redis. Learn to manage book availability, create user and loan data models, and handle queues for book reservations efficiently.

We'll cover the following...

Implement a reservation queue

Extend the existing library management system to include a reservation queue for popular books. We should allow users to join a reservation queue to be notified when the book becomes available.

Tasks

In this challenge, complete the following tasks:

  1. Add the Boolean available property to the Book POJO class.

  2. Create the User class in the com.smartdiscover.model package to store ...