While I’m backing up my laptop’s hard drive, in preparation for reformatting the bloody thing due to a problem with an “invalid node structure”, I thought I’d write up some notes on my foray into GWT.
I had some trouble setting up Eclipse to export the war file for deployment on Tomcat. Apparently many other people have too. In the end, I used some ideas from Chad Bourke (via the GWT Developer Forum but wound up doing something like
ant -f semantics2.ant.xml package
cp semantics2.jar www/org.ikit.Semantics2/WEB-INF/lib/
zip -r ../../Semantics2.war .
scp ../../Semantics2.war remote.server:/path/to/tomcat/webapps
In all, it seems that it’s quite possible to extend Knowledge Forum by setting up an RPC service that talks to the ZTB API and then serializes the necessary bits to send across the wire to the client. It seems reasonably fast, too.