Generate UUID using Servlet API. Technology stack: Maven; WildFly; Build and Deploy Scripts for the local environment: build - build the application. deploy-wildfly - deploy the application. This is what my example does: Open Postman or some other assistant. Go to http://localhost:8080/jee-uuid and do it POST request. The view in the Postman: