What is Nagasena?

The W3C Efficient XML Interchange (EXI) recommendation describes a data storage and transfer format that has the mechanics of XML, but is

Nagasena is a complete open source implementation of the EXI specification, available both for Java and .Net platforms. Nagasena was developed by Fujitsu Laboratories of America.

This short video, "OpenEXI: A Quick Introduction", gives an overview of the key features of Nagasena.

The Nagasena Tutorial provides a concise yet comprehensive step-by-step guide to implementing EXI in your applications. It is accompanied by fully commented, working program code. Both the tutorial and the demonstration UI were developed by Dennis Dawson.

The implementation effort is motivated and sustanied in the hope that a solid open source implementation will catalyze EXI's adoption in many user communities.

Nagasena is available for public use under Apache License, Version 2.0.


Why not use GZip instead of EXI?

GZip is great for file compression, but that is not the only consideration. The processing time it takes to compress and expand files can outweigh the benefits of the compression itself. EXI not only achieves greater compression, but also provides substantially better performance than GZip.

Many EXI use cases involve efforts to modernize legacy applications in order to make them more suitable for interacting with technologies such as cloud computing and XML. Often, these applications use packed binary formats to increase the efficiency of data exchange. When smaller units of information are exchanged frequently, GZip does not always perform well enough to make XML format feasible. In fact, there are scenarios where GZip actually increases the size of an XML file after compression.

EXI competes well with and often surpasses performance of existing packed binary formats. EXI consistently beats GZip for XML file compression across datasets varying in size and complexity, collected from a wide range of use cases beyond those already discussed.


Download Nagasena

Download Nagasena from here.


External Links


Contact Us

If you have questions, please post them here.