[plt-scheme] Stateless Servlets in the PLT Web Server

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Nov 10 17:43:02 EST 2008

For over a year, the PLT Web Server has supported stateless Web
Servlets via the #lang web-server language. This language compiles the
servlet in a special way that allows continuations to be used and
serializes them to be stored by the client on their Web browser. This
greatly improves performance, with relatively few restrictions.

Unfortunately, it was a major pain to use this language, because the
default Web server configuration did not provide a way to serve them.

I have merged the two dispatchers that were responsible for these
servlets and traditional servlets. Thus, every Web server
configuration that allows any servlets will allow both. This will
improve the ease of transition and experimentation for everyone.

If you want to try one out:

$ svn up
$ setup-plt
$ plt-web-server -p 8080 &
$ open http://localhost:8080/lang-servlets/add06.ss


Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.