Answer the question
In order to leave comments, you need to log in
How to put a java war project (which runs under Tomkat) on the server?
I made a site locally on Intelij IDE, war Maven project with persistence.xml , pom.xml, web.xml and so on. Works for me on a Tomkat server. I have no idea how to put everything on the server. Please write me a brief instruction on what, how and where.
Answer the question
In order to leave comments, you need to log in
If you mean by "server" what would work on the Internet. That can be done as follows.
There are 2 ways. 1st put on free "Virtual hosting" for example: Heroku, openShift. An example of deploying a Spring application on Heroku .
Another way that I was advised to start learning DevOps is to create a virtual machine, put my application there and configure this machine as a real server (security, ssh, ...)
I know that Amazon WebServices has free plans. Look that way.
How to deploy is in the video. But in short, without going into details, then: Install OS, install JRE, DB, .... (and all other necessary environment) and deploy. Did it for myself. It worked.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question