This example shows how to expose entities as rest services using Spring Data REST API and XML Configuration.