The demo distribution (with the name of "swingweb-${version}-demo-with-tomcat.tar.gz") is a modified tomcat distribution that contains the demo project. You can download it at the download section . Once you download and untar the distribution, simply run bin/startup.bat (or bin/startup.sh for unix) to start the webserver. The demo index page can be accessed at:
http://localhost:8080/swdemo
The easiest way for setting the swingweb development environment is to use the preconfigured demo tomcat installation, which also
has an empty swingweb project on it. Use the guide above to get the demo distribution installed. The emptyproject can be found under
webapps/emptyproject and the preconfigured url for the stub application (MyAppClass) can be accessed at:
http://localhost:8080/emptyproject/app
The first thing is to get the SwingWeb installation tarball/zip at here. Decompress the tarball/zip, the directory layout of the distribution is as follows:
+--demo # contains the demo war +--docs # contains documentations +--jars # contains SwingWeb jars +--swingweb-toolkit # contains swingweb toolkit file +--samples # contains the emptyproject war +--web # contains the zip archive that has the css/javascript needed for deployment
set CLASSPATH=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\swingweb-toolkit\swingweb-toolkit-1.0.0.jar;%CATALINA_HOME%\swingweb-toolkit\awtbridge-1.0.0.jar