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 implement the service discovery pattern with Eureka and Consul with Spring Boot. Netflix Eureka Netflix Eureka is one...Jul 31, 2023 · 4 min readsohailshah.hashnode.dev
Service Discovery in MicroservicesWhat is Service Discovery? In modern cloud-based applications, there are multiple services running with multiple instances of some of them. It's common that each service communicates with each other to provide services. In order to communicate with...Jul 26, 2023 · 3 min readsohailshah.hashnode.dev
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 relationships. Many-To-One Relationship In a many-to-one relationship, multiple entities are associated with exactly ...Jul 21, 2023 · 6 min readsohailshah.hashnode.dev
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 Let's assume we have a list of Student objects, with a Student class that has some member variables. We'll use this as an examp...Jul 15, 2023 · 3 min readsohailshah.hashnode.dev
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 getting to know the components of spring security and their working, it becomes easy to configure and implement o...Jul 15, 2023 · 4 min readsohailshah.hashnode.dev