Apache POI
Office document formats in Java
What it does
POI provides Java libraries for reading and writing Microsoft Office formats, with APIs covering spreadsheets, word-processing documents, and presentations that applications produce or inspect as part of document-processing workflows.
When to use it
For backend report generation, use spreadsheet examples to investigate cells, formatting, and the approaches available when writing a large number of data rows.