Sohail Shah·Sep 12, 2023Create 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.
Sohail Shah·Aug 29, 2023OAuth 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…
Sohail Shah·Aug 21, 2023Using 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.A response icon5A response icon5
Sohail Shah·Aug 15, 2023Transactions And Transaction PropagationLet’s begin this post, by understanding what is a transaction
Sohail Shah·Jul 31, 2023Implement 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…
Sohail Shah·Jul 26, 2023Service Discovery in MicroservicesWhat is Service Discovery?A response icon1A response icon1
Sohail Shah·Jul 21, 2023JPA : 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…
Sohail Shah·Jul 15, 2023Different 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.
Sohail Shah·Jul 11, 2023JPA : 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…A response icon2A response icon2
Sohail Shah·Jul 2, 2023Dive 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…