It is given : there was a task of writing a simple REST API consisting of literally several methods. We submit several parameters to the input, JSON output. There is no need to work through the browser, that is, no pages of beautifully displaying all this are required (can it then even more correctly be called a Веб-сервисом ?). The load is assumed to be small.
Naturally need any authorization. The following pattern has developed in my head: upon successful authorization, a token is transmitted to the user, which is subsequently transmitted with each request to the API. On the backend, respectively, check this token.
What I have :
- since
Javais closest to me, the choice fell on it; - build
maven; Springwas chosen as the framework;Apache Tomcatv8 server;- current
MSSQLdatabase.
The question is : to what extent is this technology stack suitable for solving such a problem, is this not "gunning at sparrows"?
Somewhere I heard that Tomcat does not support Java EE, or does not fully support it, is it?
The question is of course a common one, but I would like to know your opinion, which would obviously not go a false way.
Thanks in advance for your reply.
PS: I heard about Node.js , but somehow it didn’t work out for technical reasons) Or maybe you don’t have to bother with PHP )