Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1060745.1060788acmconferencesArticle/Chapter ViewAbstractPublication PagesthewebconfConference Proceedingsconference-collections
Article

XJ: facilitating XML processing in Java

Published: 10 May 2005 Publication History

Abstract

The increased importance of XML as a data representation format has led to several proposals for facilitating the development of applications that operate on XML data. These proposals range from runtime API-based interfaces to XML-based programming languages. The subject of this paper is XJ, a research language that proposes novel mechanisms for the integration of XML as a first-class construct into Java™. The design goals of XJ distinguish it from past work on integrating XML support into programming languages --- specifically, the XJ design adheres to the XML Schema and XPath standards. Moreover, it supports in-place updates of XML data thereby keeping with the imperative nature of Java. We have built a prototype compiler for XJ, and our preliminary experiments demonstrate that the performance of XJ programs can approach that of traditional low-level API-based interfaces, while providing a higher level of abstraction.

References

[1]
Apache Software Foundation. Xerces2 Java and Xalan Java. http://xml.apache.org.
[2]
C. Barton, P. Charles, D. Goyal, M. Raghavachari, M. Fontoura, and V. Josifovski. Streaming XPath processing with forward and backward axes. In Proceedings of the 19th International Conference on Data Engineering (ICDE), pages 455--466, 2003.
[3]
V. Benzaken, G. Castagna, and A. Frisch. CDuce: an XML-centric general-purpose language. In Proceedings of the Eighth International Conference on Functional Programming, pages 51--63. ACM Press, 2003.
[4]
G. Bierman, E. Meijer, and W. Schulte. The essence of data access in CΩ. http://research.microsoft.com/~emeijer.
[5]
Castor. http://castor.exolab.org.
[6]
A. S. Christensen, A. Møller, and M. Schwartzbach. Extending Java for high-level Web service construction. ACM Transactions on Programming Languages and Systems, 25(6):814--875, November 2003.
[7]
R. Cytron, J. Ferrante, B. K. Rosen, M. N. Wegman, and F. K. Zadeck. Efficiently computing static single assignment form and the control dependence graph. ACM Transactions on Programming Languages and Systems, 13(4):451--490, October 1991.
[8]
Eclipse project. XML schema infoset model. http://www.eclipse.org/xsd/.
[9]
A. Fokoué. XAEL: XML abstract evaluation library. Unpublished Manuscript.
[10]
V. Gapeyev and B. Pierce. Regular object types. In Proceedings of the 17th European Conference on Object-Oriented Programming (ECOOP), volume 2743 of LNCS, pages 151--175, July 2003.
[11]
M. Harren, M. Raghavachari, O. Shmueli, M. G. Burke, V. Sarkar, and R. Bordawekar. XJ: integration of XML processing into Java. In Proceedings of the 13th International World Wide Web conference on Alternate track papers & posters, pages 340--341, 2004.
[12]
H. Hosoya and B. C. Pierce. XDuce: A statically typed XML processing language. ACM Transactions on Internet Technology, 3(2):117--148, May 2003.
[13]
H. Hosoya, J. Vouillon, and B. C. Pierce. Regular expression types for XML. In Proceedings of the Fifth International Conference on Functional Programming, pages 11--22, 2000.
[14]
Java Community Process. XQJ: XQuery API for Java, May 2004. http://jcp.org/aboutJava/communityprocess/edr/jsr225/index.html.
[15]
Java architecture for XML binding. http://java.sun.com/xml/jaxb/.
[16]
M. Kempa and V. Linnemann. Type checking in XOBE. In Datenbanksysteme fur Business, Technologie und Web, 2003.
[17]
C. Kirkegaard, A. Moller, and M. Schwartzbach. Static analysis of XML transformations in Java. IEEE Transactions on Software Engineering, 30(3):181--192, 2004.
[18]
B. Meyer. Object-Oriented Software Construction. Prentice-Hall, 2000.
[19]
N. Nystrom, M. R. Clarkson, and A. C. Myers. Polyglot: An extensible compiler framework for Java. LNCS 2622, pages 138--152, April 2003.
[20]
M. Odersky. Programming in Scala. http://lamp.epfl.ch/scala.
[21]
M. Raghavachari and O. Shmueli. Efficient schema-based revalidation of XML. In Proceedings of Extending Database Technology (EDBT), volume 2992 of LNCS. Springer-Verlag, March 2004.
[22]
Simple API for XML. http://www.saxproject.org.
[23]
A. Schmidt, F. Waas, M. Kersten, M. Carey, I. Manolescu, and R. Busse. Xmark: A benchmark for XML data management. In Proceedings of the 28th International Conference on Very Large Databases (VLDB), pages 974--985, 2002.
[24]
Sun Microsystems, Inc. Java 2 Platform, Standard Edition (J2SE) version 1.5, 2004. http://java.sun.com/j2se/1.5.0/.
[25]
G. Sur, J. Hammer, and J. Siméon. UpdateX - an XQuery-based language for processing updates. In PLAN-X, January 2004.
[26]
World Wide Web Consortium. XML Schema, Parts 0,1, and 2.
[27]
World Wide Web Consortium. XSL Transformations, November 1999.
[28]
World Wide Web Consortium. Document Object Model Level 2 Core, November 2000.
[29]
World Wide Web Consortium. XQuery 1.0: An XML Query Language, August 2003. W3C Working draft.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
WWW '05: Proceedings of the 14th international conference on World Wide Web
May 2005
781 pages
ISBN:1595930469
DOI:10.1145/1060745
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 10 May 2005

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Java
  2. XML
  3. language design

Qualifiers

  • Article

Acceptance Rates

Overall Acceptance Rate 1,899 of 8,196 submissions, 23%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)7
  • Downloads (Last 6 weeks)0
Reflects downloads up to 20 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Object Graph ProgrammingProceedings of the IEEE/ACM 46th International Conference on Software Engineering10.1145/3597503.3623319(1-13)Online publication date: 20-May-2024
  • (2018)XML TypecheckingEncyclopedia of Database Systems10.1007/978-1-4614-8265-9_788(4817-4822)Online publication date: 7-Dec-2018
  • (2016)XML TypecheckingEncyclopedia of Database Systems10.1007/978-1-4899-7993-3_788-2(1-6)Online publication date: 29-Dec-2016
  • (2012)Extending a general-purpose streaming system for XMLProceedings of the 15th International Conference on Extending Database Technology10.1145/2247596.2247659(534-539)Online publication date: 27-Mar-2012
  • (2012)An empirical comparison of Java remote communication primitives for intra-node data transmissionACM SIGMETRICS Performance Evaluation Review10.1145/2185395.218539739:4(2-11)Online publication date: 9-Apr-2012
  • (2012)HERMESProceedings of the 2012 16th Panhellenic Conference on Informatics10.1109/PCi.2012.32(433-438)Online publication date: 5-Oct-2012
  • (2012)Service‐Oriented ArchitectureEnterprise Software Architecture and Design10.1002/9781118180518.ch6(207-358)Online publication date: 20-Jan-2012
  • (2010)DynXMLProceedings of the 2010 Workshop on Analysis and Programming Languages for Web Applications and Cloud Applications10.1145/1810139.1810145(29-38)Online publication date: 6-Jun-2010
  • (2010)Four Trends Leading to Java Runtime BloatIEEE Software10.1109/MS.2010.727:1(56-63)Online publication date: 1-Jan-2010
  • (2009)Full-fidelity flexible object-oriented XML accessProceedings of the VLDB Endowment10.14778/1687627.16877432:1(1030-1041)Online publication date: 1-Aug-2009
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media