ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Building Highly Scalable Servers with Java NIO
Subject:   Event Dispatch Threads
Date:   2005-10-28 00:47:35
From:   nuno.santos
Response to: Event Dispatch Threads

Hi.


You are right in that the sample code is single threaded. It was a simplification I've made to post the code online, as I wanted to make the code as clear as possible. The original source code, uses a round robin strategy with around 3 to 4 threads. Implementing that is really a trivial extension, it should be no problem for anyone willing to spend an afternoon tweaking the code.


Cheers,
Nuno


1 to 2 of 2
1 to 2 of 2