Posts

Showing posts with the label iText

Spring Boot Export data to PDF example

Image
Hello everyone, today we will learn how to export and download the data as a PDF file in a Spring Boot project. PDF stands for the Portable Document Format , used to exhibit documents in an electronic form independent of the software, hardware, or operating system they are viewed on. Technologies used: Spring Boot  iText PDF H2DB Spring Data JPA Project Directory Maven(pom.xml) A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details utilized by Maven to build the project.  <?xml version = "1.0" encoding = "UTF-8" ?> <project xmlns = "http://maven.apache.org/POM/4.0.0" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > <modelVersion> 4.0.0 </modelVersion> <groupId> com.knf.dev