StAX XML presentation and code on fekke.com

I have put the PowerPoint presentation and the sample code from my JaxFusion presentation on my site. The powerpoint and the sample code from my presentation last night can be located on these links.

Comments
Ben Nadel's Gravatar David,

I cannot get the java xml examples to work. It tells me that I do not have the appropriate classes:

Class not found: org.codehaus.stax2.XMLInputFactory2

Was this not something inherent to Java 2? I am learning Java as I go so forgive me if this is a very obvious question.
# Posted By Ben Nadel | 10/5/06 6:49 PM
David Fekke's Gravatar Ben,

I plan on doing a better write up on this later, but the key to using the java libraries is to download the jar files from <a href="http://stax.codehaus.org/Download">codehaus.org</a>, and put the jar files into the "WEB-INF/lib/" directory. You will have to restart your ColdFusion service, but once it has started, the examples should run.
# Posted By David Fekke | 10/5/06 10:04 PM
CL's Gravatar When I click on the PPT or the code zip, I get the blog entry being redisplayed instead of the files.

What's up with that?
# Posted By CL | 10/6/06 10:28 AM
David Fekke's Gravatar The links are fixed. I was using relative links instead of absolute.

David.
# Posted By David Fekke | 10/6/06 10:35 AM
Gordon Hsu's Gravatar <pre>
David,

I can not make your sample stax work. I know little about Java.

I don't have the error like Ben had before (Class not found: org.codehaus.stax2.XMLInputFactory2), but I do have the following error:

Class not found: javax.xml.stream.XMLStreamConstants

in the line of
XMLStreamConstants = CreateObject( "java", "javax.xml.stream.XMLStreamConstants");

Which Jar should I install? Thanks you very much for the help.
</pre>
# Posted By Gordon Hsu | 12/7/06 11:07 AM
# Posted By David Fekke | 12/7/06 12:49 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.6.001.