| |
Benefits
Java Serialization to XML (JSX) allows you to write and read any Java object
graph as XML data with one line of code. You can verify your data and
manipulate it with standard XML tools like DOM, JDOM, XSLT and XQuery. JSX
automatically creates a file format/wire protocol for all Java objects, so that
it is always up to date as the code evolves. When you need backward
compatibility, JSX provides the evolution techniques of Java Object
Serialization, and you can also modify the XML directly. Unlike databinders,
such as JAXB, no explicit mapping is required, and JSX works not just for beans
or Serializeable objects, but for all java objects.
100% transparent XML serialization
Because JSX works dynamically and transparently, your application objects are
already XML-enabled for persistence and messaging at runtime, with no
recompilation or change to your classes. If an object's class can be loaded,
JSX can read it and write it as XML (details). Because JSX factors out the XML aspect from
your application objects, they become less complex and therefore more reliable,
flexible and easier to debug and maintain. The simplicity of lean and clean
objects increases productivity, reduces support cost, and increases the ability
of your application to meet changing business needs.
100% transparent XML data
JSX faithfully represents objects according to a fixed schema (jsx.xsd), so all your data is accessible with standard XML
tools.
Zero maintenance
There are no bindings to develop or maintain with JSX , which is a perfect fit
for transient persistence (case study) and
messaging. By untying objects from bindings where they are unnecessary, you
can cut dependencies and increase the freedom of your application to adapt
to changing needs, and so build competitive
advantage.
Upgrade serialized data
Persisting to XML enables you to upgrade data and migrate it to new application
versions, by changing fieldnames, primitive values, references, classnames and
class hierarchies in the XML, by transforming it with XSLT or XQuery. This
accelerates your release cycle, and makes you more agile - and decisive
responses to changing business requirements and emerging markets often confers
a telling advantage.
Data entry and output
JSX enables instant data input and output without additional code, by
unlocking your data as accessible XML. You can extract particular
information (with XQuery, an SQL-like tool), you can transform for presentation
to HTML, CSV or other XML (with XSLT), you can update the values (with XQuery
or DOM), you send data to another language (SAX, DOM), and you can message
business entities in document-style encoding (SOAP). JSX unlocks your data for
today and tomorrow, and so your data is instantly repurposeable, your
application more flexible, and your organization more agile.
|