Enabling XML storage from Java applets in a GUI programming course

Jesse M. Heines · ACM SIGCSE Bulletin · 2003

XML, the Extensible Markup Language, is widely used in graphical user interface (GUI) programming today to both specify user interfaces and to hold the data displayed in visual components. It is relatively straightforward for Java applets to read and process XML documents over the Web, but security restrictions make it complex to store those documents back on the server after they have been modified. This paper describes a set of cooperating programs and their underlying algorithms that allow Java applets to read XML documents from - and, more importantly, to store those documents back to - a Java-enabled Web server. The author uses this approach in a GUI programming course to provide students who implement their projects as Java applets with the ability to use the full power of XML and its related technologies.

Read the paper · More papers on PaperTik