This is continuation to my previous post ‘Understanding the N+1 SelectProblem’. In this post, I am going to show, how can we address N+1 select
problem using @EntityGraph annotat… Read More
The N+1 select problem typically happens when an ORM (Object-Relational
Mapping) frameworks, such as Hibernate in Spring JPA, executes a separate query
for each associated entity.
Let me… Read More
1.0 Overview
We will discuss the differences between a Shallow and Deep copy of a Java Object in this article.
2.0 Shallow Copy of an Object
For an example let’s consider the… Read More
Event sourcing is a design pattern in which the system
state is captured as a sequence of events. Every change to the system state is
captured as an event. This sequence of events can be use… Read More
In this post,
I am going to explain how to map result set to a list of objects.
To
demonstrate the example, I am using below employee table.mysql> describe employee;
+-------+… Read More
Distributed
System
A Distributed System is a collection of
independent but interconnected computers that appear to the users of the system
as a single coherent system. These computers are c… Read More
Using BeanInfo#getMethodDescriptors
method, we can get the method descriptors of a bean.
ExampleBeanInfo beanInfo = Introspector.getBeanInfo(clazz);
MethodDescriptor[] methodDescriptors =… Read More
In this
post, I am going to explain how to populate a Java bean from a map.
InputMap map = new HashMap();
map.put("id", 123);
map.put("name", "Krishna Gurram");
map.put("age", 34);… Read More
Using
HttpPost class, we can submit a POST request.
ExampleHttpPost httpPost = new HttpPost("http://localhost:8080/api/v1/employees");
Employee emp = new Employee();
emp.setFirstNam… Read More
The post Autofac ComponentRegistryBuilder in ASP.NET Core – How To Register Dependencies (Part 3) appeared first on Dev Leader.In this article, we’ll be exploring how to use Auto… Read More
In the dynamic world of mobile app development, efficiency and scalability are paramount, especially when dealing with large-scale applications. Flutter manages the complexity of mobile app… Read More
In this blog we are going to see how we can implement a string pool like cache for our own custom class.
Problem statement:
I want to create a Person class that stores name, ssn, address and… Read More
Hi there,
I have the journey of learning flutter. I did learn Flutter almost 3 years back for some time but didn’t work on any significant flutter project. I want to use the Github re… Read More
Trying to implement and use connect Gsheet.
I’m a noob in the Dart coding language, and have a hard time debugging code I don’t understand. I created a calendar that should save… Read More
Assalamu'alaikum Masbro! Pernah nggak sih kamu buka link di aplikasi dan tiba-tiba bisa langsung melihat isi web tanpa harus keluar dari aplikasi? Nah, itu semua berkat si kecil mungil ya… Read More
TL;DR: Discover how the Syncfusion Blazor File Manager simplifies file management. Learn to render flat data easily and handle file operations with code examples. Whether from local object… Read More
In
software development, particularly in Java, there are situations where case
sensitivity in data lookups can be a trouble. Consider scenarios where you need
to retrieve values from a colle… Read More
This example is to demonstrate
send and receive DNS UDP packets
add netty’s built-in ChannelHandler
using Reactor Netty’s interface to build send and receive action
terminate con… Read More
The use of APIs is becoming increasingly common today and has become an important part of modern software development processes. APIs (Application Programming Interfaces) are basic tools th… Read More
What is Project Lombok? Have you used this magical library? With the new Java Records feature, you might wonder if Lombok is still relevant. Let’s weigh the pros and cons and see if th… Read More
In brief, Spring Boot is a rigorous tool that provides the developer with the required platform to develop apps of the size and complexity required. In particular, it has hit the nail on Th… Read More
Photo by Sigmund on Unsplash
In the recent four years I did quite a bit of web development also using Microsoft’s new web framework called Blazor. Blazor adds component-first support t… Read More
Introduction
If you have ever created a RESTful API using Spring web, you probably know that handling error responses is a crucial part of the API design. In most cases, we don’t ju… Read More
The post ConstructorInfo – How To Make Reflection in DotNet Faster for Instantiation appeared first on Dev Leader.Recently I wrote an article where I wanted to compare a popular way of… Read More
SkipList
is a specialized form of a Linked List optimized for rapid search and insertion
operations.
In
SkipLists, both insertion and search tasks are accomplished with a time
compl… Read More
The post NUnit in ASP.NET Core – What You Need To Get Started appeared first on Dev Leader.ASP.NET Core is an open-source framework for building modern web applications. NUnit, on the… Read More
Hace unos días, veíamos por aquí los constructores primarios de C#, una característica recientemente introducida en el lenguaje que permite omitir el constructor… Read More
The Token
Bucket Algorithm helps to control the rate at which requests are made to a
system or server. It works by simulating a bucket with a limited number of
token… Read More
Event
sourcing is a way of organizing data in a computer system. Instead of keeping
track of the current state directly, it stores a series of events that show how
the system changed over ti… Read More
Hace ya algunos años, con la llegada de C# 9, los records nos mostraron otra forma de crear objetos distinta a los clásicos constructores. Ya entonces, y únicamente en a… Read More
With Flutter’s portable UI framework and Dart’s high performance, it’s easy to build beautiful native mobile apps. But what about more advanced use cases like machine learn… Read More
The gist
Spring Boot offre une manière simple et efficace de créer des API REST. Dans cet article, nous expliquerons comment configurer votre propre API et la connecter &agr… Read More
Sharding
is a method used in databases and various systems to break down large data sets
into smaller, and manageable segments. Each segment, known as a shard, is an
independent database, an… Read More
Imagine a hiker's backpack (the knapsack) with limited space (capacity).They have a collection of items, each with a value (usefulness) and a weight (space it occupies).The goal is to fill t… Read More
Verifying one’s identity in order to gain access to particular resources within an application is known as authentication. This usually entails entering your username and password to l… Read More
Los records son una interesante fórmula para definir tipos en C# de forma rápida gracias a su concisa sintaxis, además de ofrecer otras ventajas, entre las que destacan… Read More
Conventional
RDBMS systems are designed for OLTP (Online Transaction Processing) workloads,
emphasizing strong transaction consistency and durability. In simple terms,
these systems are fine… Read More
The gist
Spring Boot offers a simple and efficient way to create REST API. In this article, we’ll explain how you can set up your own API, and connect it to a database to serve cont… Read More
In Part 1, we introduced the integration of Flutter modules in your iOS app. Now, in part 2, we’re ready to take the next step in your Flutter app development journey. We will implemen… Read More
Shared
Reentrant lock is useful, when you have a large number of resources that need
to be accessed concurrently by multiple threads, and you want to minimize
contention while allowing for p… Read More
Sabemos que está feo y no sea especialmente recomendable en muchos casos, pero hay veces en las que es totalmente necesario acceder a miembros privados de una clase. Por ejemplo, ser… Read More
In the world of programming, exceptions are inevitable. They represent unexpected or exceptional events that can occur during the execution of a program. While some exceptions might be antic… Read More
Imagine, you are developing Java software and suddenly you encounter errors. Where could have possibly gone wrong?
There are many types of errors that you will encounter while develo… Read More
Have you ever noticed an error like the screen that you’re trying is not in context or not in the navigation stack/tree? Or ever get stuck in Flutter navigation? Don’t worry we&r… Read More
While our affection for Flutter is unanimous, transitioning the entire app to Flutter all at once might not always be feasible. However, an effective approach involves integrating the Flutte… Read More
Discover the fusion of tradition and innovation as we explore the world of chess, reimagined through Dyte video calling in the Flutter framework. Break the distance barriers and get your tac… Read More
Table of ContentsWhat is the toString() method?Why is the toString() method important?Understanding the default implementation of toString()Overriding the toString() method for custom class… Read More
The following are the new features that
introduce in C# 12. Check out the new C# 12 preview features!1. Default value for Lambda Expressions (Optional
parameters… Read More
Introduction to Java and Scala
Java and Scala are two of the most popular programming languages used in the software industry today. Both languages are widely used for developing enterprise… Read More