I'm guessing it's a very simple application, given the timescale, so you can probably use Spring Boot to get started and follow a simple tutorial of your choice. The precise details in your case are probably close to what the tutorials offer I'm guessing: a simple calculation or database access behind an HTTP endpoint.