users@glassfish.java.net

Re: any open source code for a minamal servlet available ?

From: <glassfish_at_javadesktop.org>
Date: Thu, 13 May 2010 13:50:18 PDT

You should go and look at the Sun specific HTTP Server they bundle in JDK 6. They use it for their Java SE Web Service implementations.

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

It's a Sun class, so it may well not port to another JVM, but in terms of distribution footprint -- it's "free" with JDK 6, and in terms of code, it's trivial to use.
[Message sent by forum member 'whartung']

http://forums.java.net/jive/thread.jspa?messageID=469737