This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
idea for builtin Kawa web-server
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org, Tim Johnson <tim at johnsons-web dot com>
- Date: Tue, 23 Mar 2010 23:02:58 -0700
- Subject: idea for builtin Kawa web-server
- References: <20100324020350.GJ22598@johnsons-web.com>
BTW:
I'd like to make the Kawa server support so it can work *either*
with a "servlet container" like Tomcat, a full JSEE environment
like JBosss or Glassfish, *or* the simple server built in to Java6:
http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/com/sun/net/httpserver/package-summary.html#package_description
The goal would be that you be able to start a webserver with just:
$ kawa --httpserver PORTNUM --httproot /path/to/html-stuff
The goal is that the same Kawa "page programs" should
work in any of the above environments. I haven't gotten around
to doing this, but it seems like it shouldn't be difficult -
just figuring out how to move some code around.
Maybe I should just go ahead and so it.
--
--Per Bothner
per@bothner.com http://per.bothner.com/