Create Persistence Unit Without The persistence.xml fileWhen working with JPA with Java applications, we usually create a persistence unit in the persistence.xml file as below.Sep 12, 2023Sep 12, 2023
OAuth 2.0 Simplified: Know What You Need To BeginIf you are a professional developer or someone who is starting out, you might have come across OAuth 2.0. You might have tried to learn…Aug 29, 2023Aug 29, 2023
Using Optional in Java the right wayIt doesn’t matter how much time you have been programming, NullPointerException is one of the most frustrating problems you’ll face.Aug 21, 20235Aug 21, 20235
Transactions And Transaction PropagationLet’s begin this post, by understanding what is a transactionAug 15, 2023Aug 15, 2023
Implement Service Discovery Pattern With Eureka And ConsulIn the previous post, we looked at what Discovery Server in microservices is and what are the problems it solves. In the post, we’ll…Jul 31, 2023Jul 31, 2023
JPA : One-To-Many, Many-To-One And Many-To-Many RelationshipsIn the previous post, we looked at one-to-one relationship. In this post, we will look at one-to-many, many-to-one, and many-to-many…Jul 21, 2023Jul 21, 2023
Different Ways To Use Comparator Interface in JavaIn this post, we will explore various ways to use the Comparator interface in Java to compare objects and sort collections.Jul 15, 2023Jul 15, 2023
JPA : One-To-One Relationship, Fetch type, Relationship Direction And Query OptimizationIn the previous posts, we had only a single entity called the student. Let's create another entity named the library card. The library…Jul 11, 20232Jul 11, 20232
Dive into the Spring Security ArchitectureIn this post, we’ll be looking at the components that form spring security and understand how the spring security architecture works. By…Jul 2, 2023Jul 2, 2023