examples

Spring Boot : API to upload and process Excel file.

Spring Boot Examples : API to upload and process Excel file. In this post, we will write code to process excel file from API and conter that to json list of object using spring boot, apache poi and java 21. Lets start.. we are using... 1, Spring Boot 2, Java 21 3, Apache POI (to process excel) Here…

@EnableAutoConfiguration in Spring

Introduction: In the world of Spring Boot, the `@EnableAutoConfiguration` annotation holds significant importance. It’s not just a mere annotation; rather, it's a powerful tool that simplifies the configuration process, making Spring Boot applications more manageable and less verbose. In this b…

ConcurrentHashMap Examples

We can provide you with a brief explanation and code snippets for 20 different scenarios where `ConcurrentHashMap` in Java can be used. 1. Basic Usage of ConcurrentHashMap:    Ensure thread-safe operations with concurrent reads and writes. ConcurrentHashMap< String , Integer > map = new Co…

BufferedInputStream in Java

BufferedInputStream is a crucial component in Java's Input/Output (I/O) library, offering improved performance by efficiently managing data streams. In this blog post, we will explore what BufferedInputStream is, how it works, and provide practical code samples with documentation to help you…

Pdfbox Library - HTML to PDF

Transforming HTML to PDF: A Guide to Using the Pdfbox Library Introduction: In the dynamic world of web development, the need to convert HTML files to PDF is a common requirement. Whether you want to create downloadable documents from web content or generate reports, having a reliable tool to co…

Apache POI ZipArchiveThresholdInputStream Examples

Exploring Apache POI: Unveiling ZipArchiveThresholdInputStream Examples Apache POI (Poor Obfuscation Implementation) is a powerful Java library that allows developers to create, modify, and display Microsoft Office files, including Word documents, Excel spreadsheets, and PowerPoint presentations…

Apache POI DefaultFontReplacer Examples

Unveiling the Magic of Apache POI DefaultFontReplacer: A Comprehensive Guide with Examples Apache POI, the Java API for Microsoft Documents, is a powerful tool that allows developers to create, modify, and extract information from Word, Excel, and PowerPoint documents. Among its many features, t…

Converting XLSB to XLSX in Java

Introduction Binary Excel files, often denoted as XLSB files, are a binary format used by Microsoft Excel for storing spreadsheet data. In some scenarios, it becomes necessary to convert these files to the more commonly used XLSX format, especially when working with Java applications. In this bl…

Fetching XLSB Files Using HTTP Headers in Java

Fetching XLSB Files Using HTTP Headers in Java: A Comprehensive Guide Introduction: In the world of data processing and exchange, XLSB files (Excel Binary Workbook) are widely used for their efficiency and compact size. This blog post will guide you on how to request XLSB files using HTTP header…

Load More
That is All