XML is becoming a major communication meta language for many applications
supporting business over the Internet. The initial acceptance by business is huge and many
companies support its implementation on the enterprise level. Here, we present samples
that demonstrate XML data-binding for Java that is one of a core components for
XML-based business transactions.
Prior to using our samples please read Semantion License.
You have to install the following software to be able to use the samples we are presenting here:
- Java 2 SDK, Standard Edition, 1.4.1
- ExoLab Castor 0.9.4.1
- Apache Jakarta Ant 1.5.1
- Apache Regexp 1.2
A relational database software should also be installed and a database should be created.
Java 2 SDK, Standard Edition, v1.4.1 (JDK 1.4.1) is a
Sun Microsystems's Java development environment.
Castor is an open source project managed by
The ExoLab Group. It performs XML
data-binding based on an XML mapping file and Java objects which classes are created
either manually or by the Castor Source Generator tool that translates XML Schema
definition into Java classes. Castor is a central software component for our XML
data-binding samples. We use it to map XML documents to database tables and vice versa.
The XML to a database mapping is called unmarshalling. The database to XML mapping
is called marshalling.
Apache Jakarta Ant is a Java based build tool developed and supported by the
Apache Software Foundation.
Apache Regexp is Java Regular
Expression package that was donated to the Apache Software Foundation by Jonathan Locke.
Now, you can go ahead and try our samples:
ebXML
Mortgage
Advance Shipping Notice (ASN)
|