[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[ANN] XML Enhancements for Java 1.0

  • To: xml-dev@l...
  • Subject: [ANN] XML Enhancements for Java 1.0
  • From: Mukund Raghavachari <raghavac@u...>
  • Date: Wed, 13 Apr 2005 13:29:12 -0400

xml enhancements in java
We are happy to announce the release of the XML Enhancements for Java (XJ) 
compiler and runtime system on Alphaworks (
http://www.alphaworks.ibm.com/tech/xj).  The XML Enhancements for Java 
(XJ) project extends Java 1.4 with first-class support for XML. In XJ, one 
can import XML schemas just as one does Java classes.  All the element 
declarations in the XML schema are then available to programmers as if 
they were Java classes.  Programmers can write inline XPath expressions on 
these classes, and the compiler checks them for correctness with respect 
to the XML schema.  In addition, it performs optimizations to improve the 
evaluation of XPath expressions.  A programmer may construct new XML 
documents by writing XML directly inline.  Again, the compiler ensures 
correctness with respect to the appropriate schema.  By integrating XML 
and Java, XJ allows programmers to reuse existing Java libraries in the 
development of XML code and vice-versa. The XJ language has the following 

Familiarity (for the XML Programmer) : XML processing in XJ is consistent 
with open XML standards.
Robustness : XJ programs are strongly typed with respect to XML Schemas. 
The XJ compiler can detect errors in uses of XPath expressions and 
construction of XML data.
Easier Maintenance: Since XJ programs are written in terms of XML and not 
low-level APIs such as DOM or SAX, they are easier to maintain and modify 
if XML Schemas change.
Performance: Since the compiler is aware of the use of XML in a program, 
it can optimize the runtime representation, parsing, and XPath evaluation 
of XML.

We have released a prototype compiler and runtime system on Alphaworks (
http://www.alphaworks.ibm.com/tech/xj). XJ is an evolving language, and we 
are extremely interested in feedback on the utility of its features. We 
are interested in what people think about "tight" integration of XML into 
Java. Our opinion is that it makes XML processing applications more 
efficient and robust.

Mukund Raghavachari
IBM T.J. Watson Research Center
XJ: the XMLification of Java (http://www.research.ibm.com/xj)


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.