You'll need a couple of things to do this and I'm going to suggest you approach this in multiple steps.
First you need to read in your excel file with java, for that there is the Apache POI Project which allows you to do so.
Once you have it read in you'll then need to transfer it into the database. Depending how you read it in there are multiple ways to do so. The most basic is a simple JDBC connection. A basic Java JDBC tutorial can be found here
There's also no attached image showing the excel table you wish to read in. (Least from what I could see).
This kind of outlines the technologies you can use to accomplish this, Google is your friend in finding tutorials for each.
If you need more information just let me know and I can try and help you out. Same goes if you're having trouble with the code, post what you got and explain the difficulties you are having and I can try and provide some guidance.