Java microservices for insurance