www.delorie.com/gnu/docs/kawa/kawa_85.html   search  
 
Buy GNU books!


Kawa, the Java-based Scheme system

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.2 Installing Kawa programs as Servlets

You can compile a Kawa program to a Servlet, and run it in a servlet engine (a Servlet-aware web server). I assume you have compiled your program to a servlet as descrbibed in the previous section.

If you have Tomcat 4.x installed, and you want hello to be part of the myutils "web application", copy hello*.class into $CATALINA_HOME/webapps/myutils/WEB-INF/classes/. You also need to copy Kawa somewhere where Tomcat can find it, for example $CATALINA_HOME/lib/kawa-1.6.99.jar. You can then run the hello servlet using the URL http://localhost:8080/myutils/servlet/hello.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003