Sohail ShahCreate 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.3 min read·Sep 12, 2023----
Sohail ShahOAuth 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…6 min read·Aug 29, 2023----
Sohail ShahUsing 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.3 min read·Aug 21, 2023--5--5
Sohail ShahTransactions And Transaction PropagationLet’s begin this post, by understanding what is a transaction5 min read·Aug 15, 2023----
Sohail ShahImplement 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…5 min read·Jul 31, 2023----
Sohail ShahJPA : 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…7 min read·Jul 21, 2023----
Sohail ShahDifferent 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.3 min read·Jul 15, 2023----
Sohail ShahJPA : 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…8 min read·Jul 11, 2023--1--1
Sohail ShahDive 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…4 min read·Jul 2, 2023----