Hello all, My understanding was that each call to a method in GWT service class that implements RemoteService would run in a new thread on the server. However , we have logged using, System.out.println (Thread.currentThread()), the threads running on the server-side code and get something that looks like:
Thread[http-8888-Processor2,5,main] Thread[http-8888-Processor2,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor2,5,main] Thread[http-8888-Processor2,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor3,5,main] Thread[http-8888-Processor2,5,main] It looks like only 2 threads are being used in the server code and there is some random slection happening as to which one is active when the service call occurs. Am I mistaken? Namely, erver calls do not run in a separate thread? Any help would be appreciated. -Danny
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.