Out of the box, you can only work with Java Objects which are serialized in JSON format
If Java Classes are serialized using JAX-B, you need to add custom XML parsing and writing logic
to the embedded form. Java Objects serialized using Java Serialization cannot be used in forms.
Fetching an existing Serialized Java Object Variable
The Form SDK will only fetch those variables which are actually used in a form. Since a Complex Java Object is usually not bound to a single input field, we cannot use thecam-variable-name directive.
We thus need to fetch the variable programatically: