spring boot

Beginner’s Guide to GraphQL with Spring Boot

Reading Time: 4 minutes The world is a stage where all of us are artists. Constant learning is the foundation of success. So here we are going to have a tutorial on GraphQL in which we will see how to create a GraphQL server in Java. Objective We are going to query the details for a specific song from an online platform. Prerequisite Basic knowledge of:– Spring Boot– Java– Continue Reading

Spring Beans in Java

Reading Time: 2 minutes Spring IoC container is the core of the Spring Framework.In spring-based applications, objects live inside a spring containerThe container instantiate the objects, wires them together and manages their complete life cycle from creation till destruction.These objects in the Spring IoC container are referred to as beans. What is Inversion Of Control(IoC)? IoC simply means giving control to spring container to create and instantiate the spring beans Let`s say you want to Continue Reading

Service discovery and registry using spring and eureka

Service Registry and Discovery with Eureka

Reading Time: 8 minutes Hi all. In this blog we will see how we can leverage spring boot and Eureka server to do a Service Registry and Discovery. In the world of microservices scalability and elasticity is mandatory. That means, we can scale our services both up and down to meet the variant load requirements. Typically, this includes creating and destroying the instances of our services. Microservices communicate with Continue Reading

Understanding Java enums

Understanding Java enums

Reading Time: 8 minutes Hello all, in this blog post we will study one of the strongest features of the Java language, enum’s. A good understanding of Java enum can make your program stand out of the crowd, and we will see how. We’ll establish a good understanding of the feature, learn how Java enum are different from other languages. Also, we will see the scenarios where we can Continue Reading

User Authorization using JWT – Part 1

Reading Time: 4 minutes Around all the buzz words flying in the micro-service development area, one of the hottest is JWT (JSON Web Token). We often encounter JWT in already established services or may be asked to authenticate a User using a JWT. So if you’re new to this concept, hang in tight! In this blog, I’ll try to explain what exact use-case¬† JWT fulfills and when you can Continue Reading

Reactive java combining Mono(s)

Reactive Java: combining Mono(s)

Reading Time: 4 minutes Reactive programming has been a good to go approach with the microservices architecture. Here we will see how it can be achieved using spring web flux MONO Api and what could go wrong if we do not consider the basics of the reactive environment.