Featured

Useful Links

Useful Coding and Programming Resources ๐Ÿ’ป This post contains a curated list of helpful coding and programming websites, tools, and resources for software developers, computer science students, and programming enthusiasts. ๐Ÿค“ Online Coding Tutorials ๐Ÿ–ฅ Programiz - Learn programming languages like C, C++, Python, Java, etc with examples Tutorials Point - Programming tutorials and references … Continue reading Useful Links

JSLT for your JSON data transformations needs

If you've ever had to transform complex JSON payloads in a Java application โ€” filtering arrays, remapping fields, injecting computed values โ€” you know how quickly a chain of ObjectMapper calls and POJOs becomes unmanageable. JSLT (JSON Schibsted Language Transform) is a complete query and transformation language for JSON that lets you express those transformations … Continue reading JSLT for your JSON data transformations needs

Complete SVN to Git Migration Guide: Preserve History, Remap Authors, and Go Live

Moving from Subversion to Git doesn't have to mean losing your commit history. This step-by-step guide walks through a production-safe migration โ€” complete with author remapping, mailmap cleanup, and a clean push to your new remote. 1. Prerequisites Before starting, ensure the following are installed: Git โ‰ฅ 2.x, git-svn, Python 3.x, and git-filter-repo. # Ubuntu … Continue reading Complete SVN to Git Migration Guide: Preserve History, Remap Authors, and Go Live

[How-to] Disable Peer Verification in Redis for Spring Boot (Lettuce & Redisson)

Disabling peer verification in Redis is sometimes necessary in development, especially when working with self-signed certificates or testing environments. This guide covers how to do it for both Lettuce (Spring Bootโ€™s default Redis client) and Redissonโ€”including advanced approaches available for recent Redisson versions. Why Disable Peer Verification? Peer verification ensures that your client validates the … Continue reading [How-to] Disable Peer Verification in Redis for Spring Boot (Lettuce & Redisson)

[How-To]Use AWS param store in spring boot and deploy to EKS

Use AWS param store in spring boot and deploy to EKS

In modern application development, managing configuration parameters securely and efficiently is a critical task. AWS Parameter Store is a service that provides secure, hierarchical storage for configuration data management and secrets management. Let's integrate AWS Parameter Store with a Spring Boot application and optionally deploy it to EKS

[How-To]Solve Infinite Recursion with @JsonBackReference in Spring Boot

When working with Spring Boot applications, especially those that utilize JPA (Java Persistence API) for database interactions, you may encounter a common pitfall: infinite recursion during JSON serialization. This often occurs when you have bidirectional relationships between entities. In this article, we'll explore how to effectively use the @JsonBackReference and @JsonManagedReference annotations to prevent infinite … Continue reading [How-To]Solve Infinite Recursion with @JsonBackReference in Spring Boot

[How-To] Create Self-Contained Executables: Convert Java Programs with GraalVM

Are you tired of your Java programs hitting roadblocks because others don't have Java installed? Say hello to GraalVM! This powerhouse tool converts your Java program into a self-contained executable, ensuring a seamless experience for all. With simple steps like setting environment variables and using Maven, you'll be up and running in no time.

Using Single Entity with JPA and Mongo DB in spring-boot

When dealing with data split across SQL and NoSQL, it's tricky to handle a single entity. While not ideal, use a combination of JPA and starter-data-mongo, carefully managing dependencies and creating different profiles. With careful entity and repository design, it's possible to make them work. Remember to separate repositories and handle case-sensitive fields. This approach offers an effective way to handle the situation.

[How-To]Enable Jenkinsfile Syntax Highlighting in IntelliJ

If you're working on a Java project that integrates with Jenkins, particularly using a Jenkinsfile for your pipeline, you might have encountered some frustrating issues with syntax highlighting and code completion in IntelliJ IDEA. Fear not! Hereโ€™s a step-by-step guide to setting up syntax highlighting and code completion for your Jenkinsfile, while also addressing the … Continue reading [How-To]Enable Jenkinsfile Syntax Highlighting in IntelliJ

Programmatically Retrieving Log Files in Java

In any Java application, having access to log files is crucial for debugging issues, monitoring app performance, and understanding usage patterns. In this post, we'll explore different techniques for programmatically retrieving log files in Java for administrative purposes or log analysis. Getting the Log File Location First, we need to determine where the log files … Continue reading Programmatically Retrieving Log Files in Java