TCP servlets
A question about servlets occurred to me just now. As we know them in general use, servlets are HTTP servlets. Put another way, the javax.servlet.Servlet interface has been traditionally used via its javax.servlet.http.HttpServlet implementation. The question that arises is: what about an implementation of java.servlet.Servlet that uses a raw, socket based TCP implementation instead?
Before going into the above question, it is perhaps to pause and ponder possible uses, if any, of such as TCP implementation. After all, in what way would such an implementatoin be useful? More specifically, what would be some compelling benefits of a TCP implementation compared to the traditional HTTP implementation?
Please share your thoughts...

Comments