OBJECT-ORIENTED PROGRAMMING, SYSTEMS, LANGUAGES and APPLICATIONS
 
 
Program
 


Program (2mb PDF)

Explore
  Invited Speakers
  Onward!
  Panels
  Workshops
Discover
  Research Papers
  Student Research Comp.
  Posters
  Doctoral Symposium
  Educators' Symposium
  Wiki Symposium
  Dynamic Lang. Symp.
Understand
  Tutorials
  Essays
  Practitioner Reports
  Demonstrations
Create
  DesignFest
  Lightning Talks
  FlashBoF
  Instant Arts School Exp.
 
Other Events
 
Resort Map (364kb PDF)
 
Resort Map (JPG)

 

 
Basket
 

view, help

"XJ : Integrating XML and Java"

 

 
Page
 

Printer-friendly

 
 
  > Demonstrations

 : Tuesday

XJ : Integrating XML and Java

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

 


 
7·8·9·10·11·12·13·14·15·16·17·18·19·20·21

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
 
.