Now that we have given a brief introduction to microservices, we are ready to see an example microservices application written using Java EE. Our example application should be very familiar to most Java EE developers. It is a simple CRUD (Create, Read, Update, Delete) application. Developed as a series of microservices, the application will follow the familiar MVC design pattern, with the "View" and "Controller" developed as microservices. The application will also utilize the very common DAO pattern, with our DAO developed as a microservice as well.
Actually, the example code is not a full CRUD application. For simplicity, we decided to only implement the "Create" part of our CRUD application.
We will be using Payara Micro to deploy our example code. Payara Micro is a lightweight Java EE application server derived...