Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/main/java/com/github/phillipkruger/jaxblib/example
README.md
bad_cpu.png
bad_heap.png
good_cpu.png
good_heap.png
nbactions.xml
pom.xml

README.md

Batch Example.

This example marshal and unmarshal to and from Object to XML in a loop

Running the example

mvn "-Dexec.args=-classpath %classpath com.github.phillipkruger.jaxblib.example.PlainJavaApplication" -Dexec.executable=/usr/lib/jvm/java-openjdk/bin/java process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec

This will prompt you for input:

INFO: Welcome to the JAXB test.
Enter to :
 1 = Run bad batch example
 2 = Run good batch example
 x = Exit

The 'bad' example takes much longer than the 'good' example

You can’t perform that action at this time.