Packaging of event mappers and JAXB serialization
It is good practice to package event mappers in a shared library rather than together with the business portlets.
If we decide to package event mappers with more than one business portlets, the screen flow manager runs JAXB-based marshalling and unmarshaling. This action prevents ClassCastExceptions caused by the use of one or more isolated classloaders. We can influence the behavior of the JAXB based marshalling using specific configuration options. For more information, read Configuration Options.
Parent Retrieve and store event payloadRelated concepts:
Configuration options