I have made a Java desktop application which simply stores information about the customers.
Now I’m asked to make the necessary changes to make it a web application.
I’m completely new to Java web development.
What I understand is that I will be given a server and I have to keep the program in that and only the admin will be able to run the program.
Can I just link to the application by some script so that my main program remains unchanged?
My application is based on Swing and a simple file based database.
You must determine what type of web application you want: servlet or applet? Also you can switch to an application type JavaFX. For starters try reading something about the basic structure of cups types of applications. For using applet see How to convert a Swing Application to an Applet?