DataTag ArchiveSubscribe
java-microsoft-word-with-apache-poi
Microsoft Word Processing in Java with Apache POI Data 1. Overview Apache POI is a Java library for working with the various file formats based on the Office Open XML standards (OOXML) and Microsoft’s OLE 2 Compound Document format (OLE2). This tutorial focuses on the support of Apache POI for… Continue Reading java-microsoft-word-with-apache-poi
opencsv
Introduction to OpenCSV 1. Introduction This quick article introduces OpenCSV 4, a fantastic library for writing, reading, serializing, deserializing, and/or parsing .csv files! Below, we’ll go through several examples demonstrating how to set up and use OpenCSV 4 for your endeavors. 2. Set-Up Here’s how to add OpenCSV to your… Continue Reading opencsv
jackson-streaming-api
Jackson Streaming API If you have a few years of experience in the Java ecosystem, and you’re interested in sharing that experience with the community (and getting paid for your work of course), have a look at the “Write for Us” page. Cheers. Eugen 1. Overview In this article, we… Continue Reading jackson-streaming-api
java-hyperloglog
Guide to the HyperLogLog Algorithm Algorithms Data 1. Overview The HyperLogLog (HLL) data structure is a probabilistic data structure used to estimate the cardinality of a data set. Suppose that we have millions of users and we want to calculate the number of distinct visits to our web page. A… Continue Reading java-hyperloglog
jackson-map
Map Serialization and Deserialization with Jackson 1. Overview In this article, we’ll look at serialization and deserialization of Java maps using Jackson. We’ll illustrate how to serialize and deserialize Map<String, String>, Map<Object, String>, and Map<Object, Object> to and from JSON-formatted Strings. 2. Maven Configuration [source,xml,gutter:,true] <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.9.4</version> </dependency>… Continue Reading jackson-map
jackson-deserialization
Getting Started with Custom Deserialization in Jackson 1. Overview This quick tutorial will illustrate how to use Jackson 2 to deserialize JSON using a custom Deserializer. If you want to dig deeper and learn other cool things you can do with the Jackson 2 – head on over to the… Continue Reading jackson-deserialization
java-mqtt-client
MQTT Client in Java 1. Overview In this tutorial, we’ll see how we can add MQTT messaging in a Java project using the libraries provided by the Eclipse Paho project. 2. MQTT Primer MQTT (MQ Telemetry Transport) is a messaging protocol that was created to address the need for a simple… Continue Reading java-mqtt-client
dubbo
Introduction to Dubbo 1. Introduction Dubbo is an open-source RPC and microservice framework from Alibaba. Among other things, it helps enhance service governance and makes it possible for a traditional monolith applications to be refactored smoothly to a scalable distributed architecture. In this article, we’ll give an introduction to Dubbo… Continue Reading dubbo
java-images
Working with Images in Java 1. Overview In this tutorial, we are going to take a look at a few available image-processing libraries, and perform simple image processing operation – loading an image and drawing a shape on it. We’ll try out AWT (and a bit of Swing) library, ImageJ,… Continue Reading java-images