racket/collects/web-server/default-web-root/servlets/examples/compound
Jay McCarthy 00f2c671a3 Removing unit servlets
svn: r6101
2007-04-30 17:51:11 +00:00
..
add.ss Removing unit servlets 2007-04-30 17:51:11 +00:00
helper.ss Removing unit servlets 2007-04-30 17:51:11 +00:00
multiply.ss Removing unit servlets 2007-04-30 17:51:11 +00:00
README Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00

To build libraries that use send/suspend, the library code must reside inside
a unit that imports send/suspend.  Servlets that use the library must
link the main servlet with the code from the library using a compound-unit.

helper.ss
  This file provides the function _get-number_ that uses send/suspend
  to interact with the consumer.
  
helper-sig.ss
  This file provides a unit signature required for linking to the helper
  library.

add.ss
  The add servlet links to the helper unit and calls get-number.

multiply.ss
  The multiply servlet also uses the helper library.