BT

Java and .NET Libraries for Open XML

by Jonathan Allen on Jun 12, 2007 |

Working with Office Automation from Java or .NET is often a frustrating endeavor. In addition to the problems that Java and C# have with the late binding and optional parameters so heavily used by the COM object model, there is the insistent need to release COM objects. Miss a single one and the associated Office process won't shut down until some indeterminate point in the future. And most people recommend not even trying to use it from a service or website.

With the new OpenXML format, there is the promise of an clean and efficient way to manipulate Office documents via XML. But with a 6000+ page spec, finding the exact nodes one needs to manipulate is a non-trivial task.

This is where SDKs and libraries come in. Java open source developers were the first to announce development plans with OpenXML4J.

This is the real started point now and we really hope to move on an alpha version early in July, and then a beta in August. We're still looking for skilled contributors and some help to give us - the community - a hand to spread this news around the web!

Their website includes a well defined roadmap and overall feels more like a well funded commercial project than an open source offering in its initial stages. If the resulting code is as good as the web site, Java developers are in for a real treat.

On the Microsoft side, we find an preview release of the Microsoft SDK for Open XML Formats. Microsoft has a head start over the Java project in that .NET framework already implements some of the very low level code needed to support the format.

The class library for the SDK is already online. Though much of it is still subject to change, the documentation is already approaching what one would expect from a Microsoft offering.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT