following work with server - application entity and basic spring configuration