S
S
Scorpio2019-03-29 17:27:55
Java
Scorpio, 2019-03-29 17:27:55

Server and clients in java?

Is it possible to create a spring MVC server and write desktop and mobile applications in addition to it? If yes, then with the help of what it is to be implemented, how will the clients and the server communicate? Or for such cases, spring is not the best choice, and is it only for the web?
For example, does VK have one server for the website, desktop and mobile application? If so, how do they differentiate this? Does the server need to know who is knocking on it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-03-29
@notAquarius

Is it possible to create a spring MVC server and write desktop and mobile applications in addition to it?

Yes.
If Spring MVC then REST is the most natural way to interact.
First you need to understand that Spring MVC is not all of Spring. Not even a tenth of it.
No, it doesn `t need. It is enough that the client follows the protocol of interaction with the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question