Sun announces XML for Java interface specs

Sun Microsystems Inc. published details on Monday of two new interfaces to link its Java programming language to XML (Extensible Markup Language).

The two new Java APIs (application programming interfaces) – Java API for XML Messaging (JAXM) and Java API for XML Parsing (JAXP) – and a slew of supporting acronyms dealing with messaging and parsing of XML. Work on the APIs is still continuing, and Sun described the information released Monday as “early access” versions of the specifications.

The APIs, along with the still incomplete Java API for XML Data Binding (JAXB), form the core of Sun’s support for XML in the Java 2 platform, the company said in a statement. All three technologies are being developed through the Java Community Process (JCP), an organization set up by Sun to manage the evolution of Java.

JAXM enables packaging, routing and transport of XML and other messages using HTTP (Hypertext Transfer Protocol), SMTP (Simple Mail Transfer Protocol) and FTP (File Transfer Protocol), and will be useful to programmers building robust, secure electronic commerce applications, said Sun. Future versions of the API will support other messaging methods including those being defined in the ebXML (Electronic Business XML initiative) framework by OASIS (the Organization for the Advancement of Structured Information Standards) and the UN/CEFACT (United Nations Center for Trade Facilitation and Electronic Business). Sun said expects the final version of JAXM to be ready in early 2001, and hopes to make the specification available through “a credible open source organization, such as the Apache Software Foundation.”

The other API, JAXP, enables Java applications to read, manipulate and generate XML documents. The draft version of the specification is available through JCP and supports XML standards including the recently released Document Object Model (DOM) Level 2, said Sun. It expects to ship the final version in the first quarter of next year.

The third, as-yet unreleased API, is intended to help developers to develop and maintain XML-enabled applications with a minimum of effort. JAXB maps XML documents to Java objects. It will include a compiler that can automatically generate Java classes from XML schemas without developers having to write any parsing code. The compiler will automatically check XML messages for errors and validity. Sun expects JAXB to ship in the first quarter of 2001.

Further details on JAXM and JAXP can be found at

Sun, in Palo Alto, Calif., can be reached at Oasis can be reached at The Electronic Business XML initiative can be reached at

Would you recommend this article?


Thanks for taking the time to let us know what you think of this article!
We'd love to hear your opinion about this or any other story you read in our publication.

Jim Love, Chief Content Officer, IT World Canada

Featured Download

Featured Articles

Cybersecurity in 2024: Priorities and challenges for Canadian organizations 

By Derek Manky As predictions for 2024 point to the continued expansion...

Survey shows generative AI is a top priority for Canadian corporate leaders.

Leaders are devoting significant budget to generative AI for 2024 Canadian corporate...

Related Tech News

Tech Jobs

Our experienced team of journalists and bloggers bring you engaging in-depth interviews, videos and content targeted to IT professionals and line-of-business executives.

Tech Companies Hiring Right Now