Tag

Apache POI

1 views collected around this technical thread.

Java Captain
Java Captain
May 15, 2025 · Backend Development

Generating Temperature Line Charts in Excel with Apache POI (Java)

This tutorial demonstrates how to add Apache POI dependencies via Maven and use Java code to create an Excel workbook containing a multi‑series temperature line chart, including custom font sizes for titles and axes, and finally export the file to disk.

Apache POIData VisualizationExcel
0 likes · 8 min read
Generating Temperature Line Charts in Excel with Apache POI (Java)
Java Architect Essentials
Java Architect Essentials
Dec 8, 2024 · Backend Development

Universal Java Class to Excel Export Using Reflection and Apache POI

This article demonstrates how to create a generic utility that, through Java reflection and Apache POI, can export any list of objects—regardless of their class—into a CSV/Excel file, with optional custom column names via annotations.

Apache POIBackendCSV
0 likes · 11 min read
Universal Java Class to Excel Export Using Reflection and Apache POI
Java Architect Essentials
Java Architect Essentials
Oct 31, 2024 · Backend Development

How to Read Excel, Word, PDF, and Text Files in Java

This article explains how to use Java libraries such as Apache POI, PDFBox, and EasyExcel to read Excel, DOC/DOCX, PDF, and plain text files, providing complete code examples, required Maven dependencies, and step‑by‑step usage instructions for each file type.

Apache POIExcelFile I/O
0 likes · 13 min read
How to Read Excel, Word, PDF, and Text Files in Java
IT Services Circle
IT Services Circle
Nov 24, 2023 · Backend Development

Understanding and Solving Memory Overflow in Apache POI Excel Processing with EasyExcel

The article explains why Apache POI loads entire .xlsx zip files into memory causing OOM, demonstrates the issue with code examples, and shows how switching to EasyExcel's streaming read dramatically reduces memory usage while handling large Excel files in Java.

Apache POIEasyExcelExcel
0 likes · 8 min read
Understanding and Solving Memory Overflow in Apache POI Excel Processing with EasyExcel
Selected Java Interview Questions
Selected Java Interview Questions
Apr 26, 2023 · Backend Development

Implementing a Flexible Excel Export Utility with Apache POI in Java

This article explains how to build a reusable Java utility for exporting large Excel reports using Apache POI, covering header configuration, data transformation, cell formatting, multithreaded data retrieval, asynchronous handling of long‑running exports, and provides full source snippets and SQL schema examples.

Apache POIBackend DevelopmentExcel Export
0 likes · 13 min read
Implementing a Flexible Excel Export Utility with Apache POI in Java
Selected Java Interview Questions
Selected Java Interview Questions
Feb 14, 2023 · Backend Development

Using Apache POI and SXSSFWorkbook to Export Large Excel Files in Java

This article demonstrates how to use Apache POI's XSSFWorkbook and SXSSFWorkbook classes in Java to export data to Excel files, addresses memory overflow issues with large datasets, shows code examples, and discusses the role of ChatGPT in assisting programmers without replacing them.

Apache POIBackendChatGPT
0 likes · 6 min read
Using Apache POI and SXSSFWorkbook to Export Large Excel Files in Java
Java Architect Essentials
Java Architect Essentials
Nov 14, 2022 · Big Data

Efficient Import and Export of Millions of Records Using Apache POI and EasyExcel

This article explains how to handle massive Excel import and export tasks in Java by comparing traditional POI implementations, selecting the appropriate Workbook type based on data volume, and leveraging Alibaba's EasyExcel library together with batch JDBC operations to process over three million rows with minimal memory usage and high performance.

Apache POIBig DataEasyExcel
0 likes · 22 min read
Efficient Import and Export of Millions of Records Using Apache POI and EasyExcel
Selected Java Interview Questions
Selected Java Interview Questions
Sep 4, 2022 · Backend Development

Resolving OutOfMemory Errors When Using Apache POI for Large Excel Exports

This article analyzes why Apache POI runs out of memory when writing hundreds of thousands of rows to an Excel file, examines the underlying HSSFWorkbook implementation, and demonstrates how switching to the streaming SXSSFWorkbook API provides a stable, low‑memory solution for large‑scale Excel generation.

Apache POIBackendExcel
0 likes · 6 min read
Resolving OutOfMemory Errors When Using Apache POI for Large Excel Exports
Sohu Tech Products
Sohu Tech Products
Feb 9, 2022 · Backend Development

Java Excel Export Utility: Design, Implementation, and Usage with Apache POI

This article explains how to build a flexible Java utility for exporting large volumes of report data to Excel using Apache POI, covering customizable headers, field formatting, multithreaded data retrieval, asynchronous processing, and deployment steps.

Apache POIBackendExcel
0 likes · 13 min read
Java Excel Export Utility: Design, Implementation, and Usage with Apache POI
Top Architect
Top Architect
Jul 31, 2021 · Backend Development

Java Excel Import/Export Utility with Custom Annotations

This article explains how to create a reusable Java utility for Excel import and export using custom annotations, detailing the required EnableExport, EnableExportField, and ImportIndex annotations, the implementation of parsing and exporting methods with Apache POI, and providing sample code and usage examples.

AnnotationsApache POIBackend
0 likes · 8 min read
Java Excel Import/Export Utility with Custom Annotations
Top Architect
Top Architect
Feb 5, 2021 · Backend Development

Using Apache POI to Create and Read Excel Files in Java

This article introduces Apache POI, the Java API for Microsoft Office documents, explains its core components such as Workbook, Sheet, Row, and Cell, and provides detailed code examples for creating, reading, and converting Java object lists to Excel files, including Maven dependencies and annotation usage.

AnnotationsApache POIExcel
0 likes · 11 min read
Using Apache POI to Create and Read Excel Files in Java
Top Architect
Top Architect
Jan 2, 2021 · Backend Development

Optimizing Large-Scale Excel Import/Export with Apache POI to Avoid OOM and Reduce GC

This article explains how to prevent frequent full GC and out‑of‑memory errors when using Apache POI for massive Excel imports and exports by leveraging SXSSFWorkbook for XLSX, choosing appropriate processing models for XLS/XLSX, and provides performance test results and code samples.

Apache POIExcelJava
0 likes · 18 min read
Optimizing Large-Scale Excel Import/Export with Apache POI to Avoid OOM and Reduce GC
Java Captain
Java Captain
Feb 29, 2020 · Backend Development

Using Apache POI for Excel Import and Export in Java

This article demonstrates how to use Apache POI in a Maven‑based Java project to read and write both XLS and XLSX Excel files, covering library setup, core APIs, data type handling, and practical import/export implementations with Spring MVC and MyBatis.

Apache POIExcelImportExport
0 likes · 19 min read
Using Apache POI for Excel Import and Export in Java
FunTester
FunTester
Aug 4, 2019 · Backend Development

Java Method to Read Excel Files and Convert Data to List of Maps

This article presents a Java utility that reads Excel files (both .xls and .xlsx) using Apache POI, extracts headers and numeric data into a nested List‑of‑Map structure, and includes error handling and type conversion details.

Apache POIExcelFile I/O
0 likes · 6 min read
Java Method to Read Excel Files and Convert Data to List of Maps
FunTester
FunTester
Aug 4, 2019 · Fundamentals

Java Method for Writing Data to XLSX Files Using Apache POI

This article presents a Java method that uses Apache POI to write data into XLSX files, detailing the implementation steps, code example, and practical considerations for generating test reports with Excel in automated testing environments.

Apache POIAutomationExcel
0 likes · 3 min read
Java Method for Writing Data to XLSX Files Using Apache POI
Java Captain
Java Captain
Jun 20, 2018 · Backend Development

Export Excel Files in Java Using Apache POI

This article demonstrates how to use Apache POI in Java to export collections of JavaBean objects to Excel files, covering generic reflection‑based implementation, styling, handling of dates, booleans, images, and integration with a servlet for download.

Apache POIExcel ExportJava
0 likes · 12 min read
Export Excel Files in Java Using Apache POI