Program (2mb PDF)

  Invited Speakers
  Research Papers
  Student Research Comp.
  Doctoral Symposium
  Educators' Symposium
  Wiki Symposium
  Dynamic Lang. Symp.
  Practitioner Reports
  Lightning Talks
  Instant Arts School Exp.
Other Events
Resort Map (364kb PDF)
Resort Map (JPG)



view, help

"XJ : Integrating XML and Java"




  > Demonstrations

 : Tuesday

XJ : Integrating XML and Java

Courtyard (room B)
Tuesday, 15:00, 45 minutes



Rajesh Bordawekar, IBM T.J. Watson Research Center
Michael Burke, IBM T.J. Watson Research Center
Igor Peshansky, IBM T.J. Watson Research Center
Mukund Raghavachari, IBM T.J. Watson Research Center

Demonstration number: 8

XML has emerged as a de facto standard for data integration. Despite the importance of XML, the development of XML processing applications in object-oriented languages such as Java can be tedious and error-prone. Programmers use low-level APIs such as DOM, which provide minimal support for ensuring that programs that process XML are correct with respect to the XML Schemas governing the XML data. Furthermore, the runtime performance of XML processing is a limitation of XML. Runtime libraries do not take advantage of XML Schema information or static analysis of programs to optimize accesses to XML data. XJ is a research language that integrates XML as a first-class construct into Java. This demonstration will consider the development of an XML processing application in an Eclipse-based environment. It will show how the type system of XML Schema and the expression syntax of XPath is integrated into Java in a manner that is intuitive to both Java and XML programmers, and how XJ supports the development of more robust and efficient XML processing applications. We have built a prototype compiler and a runtime system for XJ (available for download from http://www.alphaworks.ibm.com/tech/xj). Salient features of XJ include: 1. XML Schemas declarations can be imported in a manner similar to packages and classes in Java. 2. XPath expressions may be written inline. The compiler checks expressions for correctness with respect to XML Schema types. 3. Programmers may embed literal XML to construct XML data. 4. Compiler optimizations to improve the performance of XML processing. 5. Conformance to XML Schema and XPath 1.0 standards