We can either download the AXIOM binary, or we can build the binary using the source distribution (or from the source repository). AXIOM was started as a part of Axis2, but now, it has its own release cycle. Therefore, we can either download the an AXIOM binary in AXIOM release, or we can find the AXIOM binary in the Axis2 release.
Once we have the AXIOM binary, the next step is to add that binary into our classpath (and the dependent binary files as well). Then, we can start working with AXIOM. If your application has a build system similar to Maven's, then you can add dependency to that, and let it download AXIOM JARs automatically.
We can create an AXIOM in three ways as shown in the following figure.We can create an AXIOM using either the Pull Event stream or the Push Event stream, or, we can create an AXIOM programatically. In this chapter, we will learn how to create an AXIOM using a Pull Event stream, as well as how to create an AXIOM programmatically...