httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <>
Subject Re: HotJava servers (fwd)
Date Mon, 03 Apr 1995 22:36:00 GMT

For those not on the hotjava-interest mailing list.... this is a reply to 
my comments on Arthur van Hoff's statement that they were writing an HTTP 
server in Java.  The last couple sentences are the most interesting.


---------- Forwarded message ----------
Date: Mon, 3 Apr 1995 13:26:28 +0800
From: James Gosling <jag@scndprsn.Eng.Sun.COM>
Subject: Re: HotJava servers

> On Sun, 2 Apr 1995, Arthur van Hoff wrote:
> > HotJava does not require a special server. It works with any standard http
> > server. We are working on a Java based http server, but that server is not
> > required to run applets.
> This is very interesting - could you elaborate on this?  Is the goal just
> to write a basic http server in java because it can be done, or is it to
> implement an extended http to enhance client-server functionality?  Or is
> it to give browsers the ability to be servers as well - this is perfectly
> in line with the peer-to-peer model of the WWW (rather than client-server)
> that must come to be if the web will be used for true collaborate
> applications. 

We can do a number of things.  Some are just implementation nits like
using multithreading instead of Unix fork().  There are a number of
things that fall out from doing this that make for big performance
improvements.  But you could do this in C.  We also let you use hunks
of Java code instead of cgi-bin scripts, which turns a pile of
fork/exec/script parsing into a method call.  A big performance boost.
We can also do application-specific plugins that give the server a
telescript-like behaviour.  One little plugin I did implements a simple
"chat room" protocol.

View raw message