api call, service bean, and Serializable MapLayerMetadata.java