A
A
alikhann2016-05-10 08:20:19
Java
alikhann, 2016-05-10 08:20:19

Is it possible to use REST in GUI applications?

There is a task of transfer of the data between local computers. I want to try through REST. Applications in JavaFX. Need to send over 127.0.0.1? Or do you need a server to process URLs?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rou1997, 2016-05-10
@Rou1997

It is also possible to set up a local network, but I won’t help here, I always did a remote server, it’s easier and more convenient.
The browser is used, and it is a GUI application if it is not Lynx.
Whether REST is suitable depends on exactly how computers will communicate with each other. If everything is the same as on those sites where REST is appropriate, then in such an intranet it will also be appropriate ...
... REST, by definition, requires HTTP ... If raw TCP / IP, then I somehow I have little idea of ​​REST and why it is needed in this case

G
guras256, 2016-05-10
@guras256

To begin with, explain what you want to transfer and in what quantities.
Usually rest api and http as a whole implies a client-server model, that is, all requests go to the server. Use http for transport between two client applications directly... strange to say the least)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question