NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
INTERACTIVE WEB SERVICES WITH JAVA |
import dk.brics.jwig.runtime.*; public class Hello extends Service { public class Example extends Session { public void main() { XML x = [[ <html><head><title>JWIG</title></head><body> <h1><[what]></h1> <form><input type="submit" /></form> </body></html> ]]; x = x <[ what = [[ Hello World! ]] ]; show x; XML y = [[ <html><head><title>JWIG</title></head><body> Goodbye!</body></html> ]]; exit y; } } } |
COPYRIGHT © 2002-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |