This project demonstrate a sample retail application using Java, JAX Rest API and Docker
This is a monolithic project, in the next part we will convert this to Microservices.
The app use redis database, to store all user data in database 01 and to store all product data in database 02
Contains all code for the backend. This class implements the business logic, such as
get stock details
get product details
get product details using both databases
This class is the plain old java object and describes the attributes of individual products
This class is the plain old java object and describes the attributes of individual stocks
These classes implements the beans of Rest api
This is the main Rest API class that interacts with the APIs and calls relavant methods in the controller to get appropriate response.
https://github.com/smhillin/microservices_monolithic_docker/blob/master/setup_notes.md
References:- https://www.oreilly.com/ideas/how-to-manage-docker-containers-in-kubernetes-with-java https://github.com/danielbryantuk/oreilly-docker-java-shopping