
In order to generate the documents, we need an access token to hit the eDocGen's API.


When setting up the spring boot application, the spring initializer comes in handy. The mail id should be sent to the server as an optional query parameter. When the document is ready, it should be sent to the user over email.Document generation should happen behind the screen and the front end should receive an immediate acknowledgment.The front end calls our backend endpoint with the input parameters and template ID.This is the requirement I have taken for demonstration and I kept them simple enough. I'm going to write a Spring Boot application. This is part II of my article " Template-Based PDF Document Generation in JavaScript." This made me think, why not write an article on the Template-Based PDF Document Generation in Java?

And they have mostly done in java spring boot application. In my previous article, I wrote about how we can seamlessly generate template-based documents in our JavaScript application using EDocGen.Īs a Java developer, I have worked on creating backend applications for e-commerce and healthcare enterprises where the requirement for document generation is vast.
