I want to implement a client server communication involving decent amount of data being passed. (~ 50MB)
Should I implement the back end using the ServerSocket
or HttpServer
?
What are the pointers to decide?
Thanks.
I want to implement a client server communication involving decent amount of data being passed. (~ 50MB)
Should I implement the back end using the ServerSocket
or HttpServer
?
What are the pointers to decide?
Thanks.
Mainly it depends if you want to communicate to the client using the HTTP protocol or you want to set up a simple TCP/IP connection and than use the another application protocol.
Netty simplify the implementation of both the solution, Ratpack focuses on HTTP.
you give too little details about what the backend would be. Standard approaches use a Tomcat at the back (if you are in Java) or apache webserver and a REST based data exchange mechanism between the client and server.