Web app on java

Hi guys:wave:
I have a question, it is normal to try to write a web application in Java.
This will be an application for a restaurant where a waiter, having already reached the table via the phone, can place your order through the website (which I want to create).