Converting JSON Array to Java List with Gson
1. Overview In the realm of modern software development, the manipulation of data interchange formats like JSON (JavaScript Object Notation) is ubiquitous. Converting JSON Array into Java List objects...
View ArticleSpring Boot Postgres App On Podman
1. Introduction to Podman Running Spring a Boot Postgres App on Podman offers a lightweight and secure containerization solution for developers. Podman, an open-source containerization tool, operates...
View ArticleConfiguring the GlassFish Server in Eclipse
GlassFish Server is an open-source application server designed to facilitate the development and deployment of Java Enterprise applications. Additionally, it offers comprehensive support for web...
View ArticleAPI Documentation with Spring REST Docs
In software development, creating clear and comprehensive documentation for APIs is essential. It ensures that developers can understand and utilize our APIs effectively. Also, regarding REST APIs, a...
View ArticleFinding the Parent of a Node in a Binary Search Tree with Java
In the domain of data structures, Binary Search Trees (BSTs) play a fundamental role in facilitating efficient search, insertion, and deletion operations. However, there are times when we need to...
View ArticleAmazon Simple Storage Service Mock Testing In Java
Amazon S3 (Simple Storage Service) is a cloud storage solution provided by Amazon Web Services (AWS), offering scalable storage for data storage, retrieval, and management. It provides developers with...
View ArticleMigrating an Application from Spring Security 5 to Spring Security 6
Spring Security offers extensive security features for Java applications. With each new release, Spring Security brings enhancements, security fixes, and upgraded functionalities. Transitioning our...
View ArticleImplement A GraphQL Mutation With No Data Return
GraphQL stands as a robust query language tailored for APIs, offering a versatile and effective means to engage with our data. Typically, when addressing mutations, the focus revolves around updating...
View ArticleUnleash the Power of AssertJ: Make Your Unit Tests Crystal Clear
Unit tests are the superheroes of the coding world, ensuring your code works as intended. But writing clear and concise unit tests can sometimes feel like a challenge. Here’s where AssertJ swoops in to...
View ArticleSerialization with FlatBuffers in Java
FlatBuffers in Java facilitates high-speed data serialization/deserialization, eliminating parsing overhead. Developed by Google, it offers a schema-less, memory-efficient solution for cross-platform...
View ArticleSpring Security AuthorizationManager
1. Introduction Spring Security AuthorizationManager is part of Spring Security that is an extension of the Spring Framework that supports common application security. It includes mandatory...
View ArticleHow to Convert Excel to JSON in Java
1. Introduction When Java applications deal with data interchange between different systems, it’s common to convert Excel to JSON. Apache POI (Poor Obfuscation Implementation) is an open-source Java...
View ArticleSpring Boot & Databases: The Perfect Match (No More Struggles!)
Let’s face it, building applications is exciting! But the moment you need to connect your shiny Spring Boot app to a database, things can get a little…well, messy. Well, this is where Spring Boot...
View ArticleAdd Elements to Java Collection
Looping through a List is a frequent task in Java, yet appending elements to it during iteration demands careful attention to prevent exceptions and maintain code accuracy. Let us delve into...
View ArticleSimplified Array Operations on JsonNode Without Typecasting in Jackson
In Java development, managing JSON data efficiently is crucial, especially when dealing with arrays within JSON structures. This article focuses on Simplified Array Operations on JsonNode in Jackson,...
View ArticleOpenAPI Generator Custom Templates
1. Introduction Open API is a specification for designing and documenting RESTful APIs. OpenAPI generator is a tool used in API-first development as it can generate client and server source code from...
View ArticleOptimizing Java Performance: A Look at the Execution Pipeline
Ever wondered how your seemingly simple lines of Java code transform into a functioning application? The magic lies in the intricate execution pipeline, a meticulous series of steps that takes your...
View ArticleUnderstanding Invalid Characters in XML
XML, the Extensible Markup Language, is a fundamental building block for data exchange and configuration files. But like any language, it has its own rules about what characters are allowed and how...
View ArticleGet the Initials of a Name in Java
When working with names in Java, a common task is to shorten the name to initials from a given full name. Initials are typically the first letter of each part of a name, such as the first name and last...
View ArticleCompute Percentiles in Java
When it concerns data analysis in Java, computing percentiles stands as a foundational task for grasping the statistical distribution and features of a numerical dataset. Let us understand how to...
View Article