java – How to deploy a web application?


I wrote my first web application (wrote on Spring Boot). I run on localhost – everything works as it should. Now I want to deploy it at my work, so that my laptop acts as a server and all employees of my organization can use this application from their workplace through a browser. Please advise where to start, perhaps links, lessons, documentation. I would be grateful for any information.


The server that comes with Spring Boot out of the box is fine for your needs.

All that is needed:

  1. Compile the code into one big jar ( mvn clean install if you are using maven)
  2. Run jar file: java -jar ...youfilename.jar

More details (as well as other options) can be found here:

Scroll to Top