This seems to be more of a Java question than a Clojure one, but I'll take a
stab at it anyway. I'm assuming you refer to
com.sun.net.httpserver.HttpServer. Per the docs,

"Management of threads can be done external to this object by providing a
Executor<../../../../../../../../../api/java/util/concurrent/Executor.html?is-external=true>
object.
If none is provided a default implementation is used."


http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/com/sun/net/httpserver/HttpServer.html

On Mon, Mar 8, 2010 at 5:02 AM, Abhay <dandekar.ab...@gmail.com> wrote:

> Hi All,
>
> I have created a small app using the java's base HTTP server shiped
> with JDK.
>
> I observed that the HTTP requests cannot execute simultaneously. For
> eg, my request 1 is blocking my request 2. As soon as I unblock the
> request, other request gets completed.
>
> Does this HTTP Server provides concurrency?
>
> If yes, Its very difficult to believe that a HTTP severs does not
> provide concurrency :(
>
> ~Abhay
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to