jersey rest example, spring rest template (not fully implemented)