I developed a java application using Spring, JPA/Hibernate and Vaadin. The database is on PostgreSQL.
The application on my computer run on localhost:8080 and bind the database on localhost:5432;
In order for my colleagues to use it, I need now to deploy my application on a virtal server Tomcat. The address of this Tomcat is like 10.152.487.12:8080.
I want to create a war of my application in java and deploy it on Tomcat. But, where I can put the database and how?
Apache Tomcat allow the creation of a Postgresql server on 8080 port ? Apache Tomcat allow the installation of a Postgresql server on 5432 like 10.152.487.12:5432?