HI, you can follow the configuration steps proposed in this article
https://www.webratio.com/learn/learningobject/how-to-deploy-a-web-application-on-different-environments-v-72
and then copy the generated WAR file from the deploy folder in your application server.