The application HRMS has integrated lots of plugins that can be integrated to the Spring MVC 4.x framework. Different tools can offer different types of rendition transformation but HRMS always defaults the rendition type to an HTML format.
Among the libraries for PDF generation, iText 5.x is the current and most widely used tool for generating PDF files, for sending attachments, receipt generation, and for other HR form automation, like HRMS, that we can see in this project.
To set up the elements of the PDF document like the layout, paper size, and its metadata, we need to create a helper class, which will become our view class for rendering PDF documents. In creating the PWP application in Chapter 1, Creating a Personal Web Portal (PWP), it was mentioned there that a view class is responsible for rendering content, and exposing the model. A single view exposes multiple model attributes, and may vary depending on the technology used...