HTTP protocols work over TCP/IP. SO infact we can say if we connect a client then whether it is TCP or HTTP, a socket is created and hence a file is created. Tomcat works on HTTP.
On TCP I can create 1024 clients simultaneously. If I create more clients then I get Too Many File Open Error. But Using Tomcat I can create more than 14000 clients.
If I use Tomcat then I do not use ulimit to increase my file limit of my OS.
How its possible?