-
Dynamically Ignoring Fields in Jackson
In this tutorial, weβll learn how to ignore fields dynamically in Jackson. This is useful when we want to serialize and deserialize the same object differently, based on particular conditions. -
Implementing CQRS with Spring Modulith
In modern enterprise applications, separating read and write concerns often becomes essential as systems grow in complexity. The Command Query Responsibility Segregation (CQRS) pattern addresses this need. -
Multi-Layer Cache in Spring Boot
In this article, weβll explore the concept of multi-layer caching in Spring Boot applications.
-
Don't use Stream filter().map(); Use mapMulti() Instead
Letβs discover if code using
filter()
andmap()
could be inefficient for certain use cases and whymapMulti()
could be a better alternative. -
Mastering Logical Deletion in Spring Boot with JPA - Enhancing @SQLDelete with Custom Parameters
A practical guide to implementing logical delete with Spring Data JPA, designed for clarity and real-world use.
-
Event Notification Pattern with Spring Data
In This article, we will implement a simple Event Notification Pattern using Spring Data.
-
Spring Boot JSON Patch done Right
This approach is designed to be generic, reusable, and optimized, so it should be easy to apply to any Spring-Boot-based and JPA-based based project. -
Java Exception Anti-Patterns
Achieve Efficient Maintainable and Simple Java Exception handling killing those anti-patterns.
-
Firebase Auth With Spring Security
In this article, we will configure a Spring Boot application to authenticate using the Firebase authentication token. Disclaimer: This article was originally a response to this medium article I used some different configurations (e.g. Iβm not using Spring oauth-resource-server library) and more updated code (with Spring-Security 6.3.1) Then I realized that the answer was too long and I needed to write a short tutorial about it. All the (working) code is available in this git repository.
-
Accelerate Spring Boot APP Start Time - Simply
A series of configurations we can apply without disruptive changes. -
How to Configure AI Chat To Query APIs
In this article, we will implement Function-Calling, another way to customize LLM models to a specific need. -
Retrieval Augmented Generation (RAG) with Spring, ReactJS, and PGVector
Weβll build a Retrieval Augmented Generation (RAG) Tool using Spring Boot, ReactJS, and PGVector. -
TestContainers with Docker Compose in SpringBoot 3
TestContainers + Docker Compose to simplify the testing of complex scenarios. -
Amazon SNS vs. Amazon SQS
Learn about two of the top services that AWS provides to users: SNS and SQS. -
Get Partition Count for a Topic in Kafka
Explore how to retrieve the total number of partitions of a specific Kafka Topic using Java and CLI. -
Get Last N Messages in Apache Kafka Topic
Learn how to get the latest N messages of a Kafka Topic. -
Intercept SQL Logging with P6Spy
Explore multiple advantages of relying on an external third-party library such as P6Spy to log database queries. -
Working with Virtual Threads in Spring
Learn how to use virtual threads in a Spring 6-based application. -
AWS Lambda with Java: Build, Deploy, Expose, Trace and Monitor
In this article, weβll implement a component of a distributed system in the AWS Cloud Environment: a Lambda serverless function. -
Guide to Java PriorityQueue
A quick and practical guide to Java's PriorityQueue. -
Main() without Class (and it's not Kotlin)
Jdk 21 has just reached Rampdown Phase One and will be released with some awesome features such as Virtual Threads, sequenced collections, generational ZGC, and pattern matching. As if those arenβt enough, Java is becoming more accessible to new programmers thanks to the JEP (Java Enhancement Proposal) 445: Unnamed Classes and Instance Main Methods.
-
Convert java.util.Date to java.sql.Date
Learn how to convert a java.util.Date to a java.sql.Date. -
Tremendous Simplification of SpringBoot Development with TestContainers
A couple of weeks ago, Spring Boot 3.1.0 has been released, and it contains some tasty features. In this article, weβll focus on the brand-new built-in integration with TestContainers. This feature brings great flexibility to developers running Spring Boot Apps on localhost.
-
Dealing with "java.lang.OutOfMemoryError: PermGen space" Error
Explore the purpose of PermGen memory and the main difference with heap memory. -
Case Insensitive Sorting in MongoDB
MongoDB's default lexical sorting may not be suitable for all purposes. Here we look at a couple of techniques for sorting to keep letters together even if they're in a mix of upper and lowercase. -
Remove Basic Error Controller In SpringFox Swagger-UI
Learn multiple ways to configure Swagger in a Spring Boot application to hide paths exposed by the BasicErrorController. -
Efficient Error Handling Tips for Javascript Web Clients
Error handling in Javascript-based web clients is a fundamental constituting part of a web application. Poor error handling can sink your system before it even learns to float.
-
Chat GPT-4 is (Almost) Ready to ROCK
A few moments ago, Greg Brockman, President, and Co-Founder of OpenAI presented a developer demo showcasing GPT-4 and some of its capabilities/limitations. OpenAI has been building this technology for over two years, tuning and rebuilding the entire framework several times.
-
Java Efficient Patterns for Exception Handling
Error handling is one of the most crucial parts of any application. In this article, which results from a lot of research and insights (and some experience in the field), we will see 4 peculiar patterns/best practices for handling errors or exceptions in Java.
-
Introduction to Kotlin Documentation with Dokka
Explore Dokka, an API documentation engine for Kotlin. -
GraphQL Support for NodeJS: A Game-Changer for API Development
GraphQL is a query language for APIs and a runtime environment for executing queries against data. It was developed and open-sourced by Facebook. -
Multidimentional Arrays in Kotlin
A quick and practical guide to multidimensional arrays in Kotlin. -
I Used ChatGPT to generate a SpringBoot App
AI tells me that I'm always correct, even when I'm not. Unlike my girlfriend. -
Spring Boot 3 with Java 19 Virtual Threads
Configuration and Load Testing of a Database Intensive App -
Introduction to Pinpoint
Learn about Pinpoint, an open-source application performance management software with excellent capabilities. -
Sustainability with the Right Programming Language
Does it make any sense to focus on these little things? -
The Data Product Lifecycle: What You Need to Know
Each and every application that we use on a daily basis generates a lot of data. This data, if utilized in a proper manner, can help a lot. -
Java Virtual Threads
We will not write ugly asynchronous code anymore. Maybe. -
Online Analytical Processing: What Is It?
Online analytical processing, simply put, is a core technology at the base of BI tools, that implements a set of software techniques for... -
Earn Some Beer Money with your FireStick
Beer Money: Extra for non-essential payments, available for spending on luxuries, hobbies, or a fresh pint of your favorite draft. -
Google Form Java Client API β Creating a Form and Reading Responses
In this tutorial, we will use the Goole Form Java Client API to create, update and read responses from a Google Form configured as a Quiz. -
Kotlin SpringBoot App in Minikube Windows Cluster
It took me 2 / 3 hours to run everything locally, I wish I had a battle plan like this when I started. -
TextBlock: It's a Java String With Superpowers
Today I discovered Java's TextBlock. It was love at first sight. -
Fixing JWT Insecure Session Termination by Blacklisting Tokens
We transformed the solution and made it a little less stateless. -
Adios to JAVA Finalizers
JEP 421 announces the end of Java Finalizers. Adios to an ancient Java feature, born together with Java 1.0 and its Garbage Collector. -
An open-source JavaScript library for structured state
Its size and simplicity could make it a wildly used library in the next future. -
KeyLogger in JavaScript
Yes, it's possible. -
An epic tale: comparing JDBC and R2DBC in a real-world scenario (Part 2/2)
The whole quest revolves around a simple but hard-to-answer question: "does it makes any sense to use R2DBC?" -
An epic tale: comparing JDBC and R2DBC in a real-world scenario
The whole quest revolves around a simple but hard-to-answer question: "does it makes any sense to use R2DBC?" -
Fundamentals of Data Versioning You Must Know
Data versioning in machine learning is a must-know for anyone working in any kind of collaborative environment. -
Developer Onboarding in the Remote Era through Automated Documentation
Technical documentation is one of the fastest ways to shorten the hill of productivity giving the road more slope. -
Best Practices for Java Dependency Management
In this golden age of open source, any Java project can use thousands of libraries. -
MongoDB Relationships: Embedding vs Linking β Pro and Cons
With performance comparison using Spring-Boot -
Create a Web App that records your screen with 45 lines of code
Stop using screen recorder applications -
Green-Pass QR Code Signature Verification (Java)
Using the ECC Public Key certificates -
SpringBoot with gRPC β Fast Start Implementation
How to configure fast communication using gRPC protocol buffer between two spring boot apps. -
Using JBOSS Credential Store in a Spring Application
In this short tutorial, we will see how to use the Jboss Credential Store in a Spring application, and access it's values programmatically. -
Enforce Kubernetes Best Practices with Kube-Linter
Who does not want to power up his YAML files? -
Search String in File with Java as fast as possible
Streams? Parallel Streams? Reactive Flux? Regular expressions? There are lots of different ways. Let's see what is the best solution. -
Production Debugging Challenges and How to Overcome Them
Three main routes to follow. -
Decode the EU Green-Pass QRCode Using Java
The process is done in 4 simple steps. -
Update Angular/React environment dynamically reading variables from Kubernetes ConfigMaps
A simple step-by-step guide to use Kubernetes ConfigMap to update the environment of a frontend application at runtime. -
Use your old Android Phone as an IP camera
Every one of us has at least one old semi-broken old phone in the drawer. In this article, I've described how I transformed this old piece of hardware into something useful. -
Amazon developer interview experience
In the past year, I've gone through a very tough interview for Amazon AWS. In this article, I've described my experience. -
How to Encrypt WebStorage in Angular
Any user can edit values in the storage β let's encrypt them. -
How to Build a Web App to Share Code LIVE with Node.JS and Socket.Io
An HTML text area field with syntax highlighting, in which changes are streamed immediately to all connected clients. -
How we recovered more than 6k user's data using Kibana API
In the latest release, a terrible bug was included. Lots of precious user information was lost. With Kibana we recovered everything. -
IMG TAG Loading Optimization
I've come to know lately that the IMG tag has 3 attributes that if set correctly can greatly improve the loading time of a web page. -
Analyzing GIT Activity with GitStats
Check out how a repository is growing, who are the best contributors, what is the most productive weekday, and more. -
Achieve the best performance: search a STRING in FILE using NodeJS
We will compare different ways of searching text inside files with JavaScript using the Node.JS framework. -
Achieve the Best Performance: 10x Faster Node.Js With Worker Threads
Confronting highly intensive CPU operations throughput using different worker threads configurations. -
Is the path for happiness passing through loving our own chains?
Sitting on a porch, illuminated by the sun, with the leash in one hand and fragrant treats in the other, I've imagined the path driven by nature. -
9 Harsh Truths of a Developer's Career
It would have made everything simpler knowing these before. -
The most hated code comments types
Some of the most hated types code comments you can find in almost every codebase. Here below a frequently updated list with my personal opinions. -
Remote Working: 6 cheap must have items
Keep your home office as comfortable as possible with very low effort. -
Windows 10 UNFAMOUS But GREAT Tool for Copy-Paste
You wish you had known this before β ENABLE CLIPBOARD HISTORY! -
Achieve Best Performance: Spring-Boot or Node-JS?
This article is based on a REAL use case scenario for a database intensive application with focus on performance. -
I've got a JetBrains OpenSource License
Jetbrains have a lots of IDE and developer tools which are awesome. You can try some of them for a limited period of time, BUTβif you are an open source contributor, you can obtain a free license. -
Generate 97% of your Spring JPA MVC code
Yes, the percentage in the title is totally random and not accurate. Still, a lot of your boilerplate code on these project can be generated. -
Better bug reporting and Faster fixing with HAR files!
Give the context of a WEB application malfunction -
Downsides of Microservices Development
Every one talks about how beautiful it is to work on a microservice architecture. What about these? -
Addictive GIT Aliases
The list of the best GIT aliases out there. Once you start using them, they'll become addictive.