The ERP prototype showcased in this chapter provides a profound and detailed pedagogy on how to set up web services given a Spring 4.x platform. The conceptual model is to create an ERP wherein all modules are scattered into different islands of networks or distributed around the network as independent real-time applications that share their results given a set of inputs.
All these applications are designed to communicate with each other through a collection of services. The communication can involve either simple data passing or it could involve two or more services coordinating on some activity.
All five modules are purely client modules meaning there are no repository (DAO) or service layers in each of the applications. The data and service layers are found in a central repository module which is responsible for the generation of web services. The service layer is exposed as a set of web services depending on the technology used...