 |
Return to article
Code and test data download
Downloading the code jar gives you full
source code for the test program and all the data binding framework test cases.
When the jar is unpacked (using jar -xvf xmlbind.jar" in an empty directory, or
using a zip file tool) you'll find a test.sh file in the root directory.
This is the actual Linux script I used to generate the results shown in the
charts, and you can use it as an example of the command line parameters expected
by the test program -- but note that to run it you'll need to also download the
jar files for any frameworks you want to test and copy them into the lib subdirectory
(see the Resources section for links to the framework sites). The
jar files for the test program itself, the JiBX runtime, and the XMLPull
parser used by the JiBX are already present in the lib subdirectory,
and the XML documents used are in the docs subdirectory (along with the JavaDocs
for the code).
If you want to see the meanings of the command line parameters used by the
test program, run the command line:
java -cp lib/xmldb.jar com.sosnoski.xmlbench.BindBench
|
and you will see a listing of all the options.
The JiBX mapped binding code included in the
com.sosnoski.xmlbench.bindings.jibxmap
package classes represents an earlier version of the JiBX framework than what is
currently under development. The runtime methods call by the hand-coded
marshalling and unmarshalling methods have not changed significantly, but
the XDoclet format shown in the files is no longer accurate. For details of
the current format, see the JiBX site (linked in Resources).
|  |
|