Google Web Toolkit (GWT) allows developers to use the Java programming language to build no-compromise AJAX applications. After announcing my project in its discussion group, I got a reasonable question: "Can you explain how this could be used within the GWT client code?"
From my reply:
Unfortunately, I have no answer. My experience with GWT is limited to Scott Blum's presentation. The goal of my posting was to raise interest in my work. Hopefully someone can decide it's cool and port Generative XPath to GWT. A good diploma, by the way.
These seem to be scripts requiring guile (admittedly, I'm no expert; I haven't Common Lisp since grad school over 15 years ago).
In my approach, to execute XPath, one needs
1) Compile an XPath expression to a Virtual Machine code using some command-line scripts,
2) From an application, interpret/run the VM code.
The practical way for (2) is to use SICP as the interpreter of the VM code:
But again, I can't suggest the details.
I'm currently using jaxen4gwt and would love to find something else. I need to process a lot of XML. jaxen4gwt is very big
If the cool way were implemented, you'd get very little overhead. But that's only dreams, unfortunately.
and has at least one untrapped exception that I have to code around.