Core OpenMRS code needs to be able to serialize and deserialize simple objects (e.g. Strings and non-proxied beans). But currently the only OpenmrsSerializer implementations are in modules. (We had originally considered making serialization.xstream a core module, but we came up with a better idea.)
- Create a simple OpenmrsSerializer, based on XStream, in core.
- Register this serializer in applicationContext-service.xml
- SerializationService.getDefaultSerializer() should return this one