Publicis Sapient interview question

Q: Difference between Java ind javascript based microservice