V
V
Vadim2018-03-28 13:49:37
MySQL
Vadim, 2018-03-28 13:49:37

How to connect Tomcat to work with Spring Boot application for backend?

Good day,
can you briefly tell how to set up a trace configuration on a local Windows machine to develop a Backend RESTfull application.
A Java RESTful application must interact with the MySQL server, receive data from it (add data if necessary) and send it as a JSON string to the outside via the Tomcat server. The question is how to organize all this on a local machine and how to deploy to a VPS?
Thanks in advance,
Vadim

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
piatachki, 2018-03-28
@piatachki

The issue is not entirely clear. Spring boot starter web already includes built-in tomcat. Judging by the stack used, this will be quite enough for the author. example

S
Sanovskiy, 2018-03-28
@Sanovskiy

Personally, I would look towards docker.
Allows you to raise isolated environments. And the deployment is to transfer the docker container to the server

Y
Yerlan Ibraev, 2018-03-29
@mad_nazgul

1) Install maven
2) Install your favorite IDE
3) Set up the IDE to work with maven
4) Go to the site, look/download Spring Boot examples
...
5) PROFIT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question