Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > ANNOUNCE: XML Enhancements for Java (XJ)

Reply
Thread Tools

ANNOUNCE: XML Enhancements for Java (XJ)

 
 
Igor Pechtchanski
Guest
Posts: n/a
 
      05-04-2005

XML Enhancements for Java (XJ) (http://www.alphaworks.ibm.com/tech/xj) are
a set of extensions to Java 1.4 that integrate support for XML, XML Schema
and XPath 1.0 into the language. The advantages of XJ over existing
mechanisms for XML development are:

- 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.

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, the compiler performs
optimizations in order 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.

XJ is an evolving language, and therefore any comments, criticisms or
praise from developers is most welcome.

Igor Pechtchanski (for the XJ team)

--
Igor Pechtchanski
IBM T.J. Watson Research Center
XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANNOUNCE: XML Enhancements for Java (XJ) Igor Pechtchanski XML 0 05-05-2005 06:22 AM
Web Services Enhancements 2.0 Cristhian Job ASP .Net 3 12-18-2003 09:41 PM
distutils enhancements William Trenker Python 0 12-18-2003 12:39 PM
ANNOUNCE: SCons 0.93 releases User's Guide,adds usability enhancements Steven Knight Python 0 10-23-2003 03:05 PM
Refresh/Redraw enhancements in IE/ASP.NET Tom Kaminski [MVP] ASP .Net 2 08-01-2003 02:07 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57