NextGen Payroll Architecture and Integration with HRM
NextGen Payroll Architecture
The Client and in case of NextGen Payroll, it is HRM that makes an HTTP REST request (GET and POST).
The REST request is forwarded to the Controller. The controller maps the request to the to the right manager class which invokes the right business logic implementing class.
The business logic is performed in the Service layer. Spring Boot performs all the logic over the data of the database which is mapped to the Spring Boot model class through Java Persistence Library (JPA).
There is no View attached here as the NextGen Payroll does the background operations interacting with the database and let the caller (HRM) handle the response.
Integration with HRM
As a part of the COBOL to NextGen Payroll transformation, the transformed code base is kept separate outside of Advantage HRM. However, since all transaction data related to payroll and other processes are stored in the HRM database, NextGen Payroll needs the HRM database to function. The communication between HRM and NextGen Payroll is one way through REST call. HRM initiates the REST call and NextGen Payroll serves that request and responds back.