title: how to convert java desktop application into web application
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>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.</p>