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.

Next Generation Payroll Architecture Diagram. Within HRM, Repository Class Extending CRUD Services flows with a Dependency Injection to the Service Layer. The Client (HRM) within NextGen Payroll flows to the Controller within HRM via a HTTP/S Request. The Controller flows to the Service Layer within HRM. The Service Layer flows to Model in HRM. Finally, the Client (HRM), Service Layer, and Model all flow to the HRM Database in the NextGen Payroll

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.

Next Generation Payroll Integration with HRM Diagram. Within HRM, there are Jobs and Online that flow into the ADvA4Service Handler. The ADVA4Service Handler then makes a REST call to the Controller in NextGen Payroll. The Controller flows to  Business Logic, with also flows to the DB interface. The Controller sends a REST response back to the AdvA4Service Handler within HRM. Both HRM and the DB interface from NextGen Payroll flow to the HRM Database