I'm just working on AJAX and made a little test-project for myself. The project contains three servlets.
Second Servlet contains the text which is the response of the HttpRequest.
Third Servlet contains a Textfield and a Button to change the text on second servlet.
Everything works fine but when I opened a few browser windows to test the performance i realized that my tomcat doesn't allow more than eight browser windows. I implemented a System.out.println at the beginning of the doGet-method of first servlet. The result is that I could see that my tomcat isn't able to call the doGet-method of the ninth browser window. But the config allows 250 threads, i think. So, what could be wrong? Any ideas?
Second Servlet contains on top of that some code that makes the requests stop and wait for a change. So every browser window creates a request that waites for a change on second servlet...just solved this with wait(). On changing the content with third servlet I call notifyAll() for every request.