In the current HOW TO, I will show how easily a HTTP server can be written using a netty library and how this can be used to implement a long polling. I have simple http client using java libraries to test this. The code for this can be found at here. HTTP Server This is…More