0

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.

LPD
  • 2,833
  • 2
  • 29
  • 48

2 Answers2

0

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.

Panciz
  • 2,183
  • 2
  • 30
  • 54
0

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.

Nazgul
  • 1,892
  • 1
  • 11
  • 15