Author: Prashant Sharma

Polyglot ability for GraalVm

Running Spring boot application as Native Image

Reading Time: 6 minutes Hi all. In the last post on GraalVm we saw how polyglot functionality works when we are working with GraalVm. We saw how multiple languages can be tied together in a single application. Moreover, we saw how to pass variables and state from one programming language to another. You can visit the post here: https://blog.knoldus.com/going-polyglot-with-graalvm/. In this blog we will cover the other aspect of Continue Reading

Polyglot ability for GraalVm

Going Polyglot with GraalVm

Reading Time: 4 minutes Hi all. In this blog we will see how we can do polyglot implementations with GraalVm. The pre-requisites for this are: Understanding of GraalVm. Knowledge of features GraalVm provides. Local Setup of GraalVm. A bit of java and python(Optional). So let’s start. What’s GraalVm? GraalVm is an Open Source project from Oracle which aims to target the JVM so that many langauges can co-exist in 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

Git first cover

Git useful commands, code management

Reading Time: 6 minutes Hi all. In this blog, we will continue to explore some of the useful git commands. These commands would help when we are working on a remote shared repository. This is in continuation to my previous post on git working areas. So, I am assuming that all are familiar with git working areas, if not please go through the blog here. Let’s explore them now Continue Reading

Serverless to Stateful serverless

From Serverless to Stateful Serverless

Reading Time: 5 minutes Hi all. I hope that you all must have heard of Serverless architecture. It’s quite popular and gaining a lot of attraction. In this blog, I’ll drive your attention towards Serverless architecture, and, then to Stateful Serverless architecture. We will see the pros and cons of such an architecture, followed by the concept of stateful serverless. Thus the title is, From Serverless to Stateful Serverless. Continue Reading

Exception Handling in Scala

Exception handling in Scala

Reading Time: 6 minutes Exception handling is very important whenever we are developing any application. In this blog I will cover the magic of exception handling in Scala.

Git first cover

Git Working Areas

Reading Time: 8 minutes Hello all, in this blog we will obtain an understanding of git internals. We will understand how our content moves within a git system. This will introduce us to the git working areas. We will see which git commands moves data to & from these areas. As a matter of fact, this blog will help boost our knowledge regarding git operations. It will also serve 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

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.

Passing query parameters through your WebClient

Reading Time: 5 minutes We can use spring-boot:webflux’s WebClient to invoke a third-party service from within our spring boot application. This is asynchronous and reactive method supplied by spring for invoking of unmanaged services. We also saw how we can pass query params when invoking a 3rd party service and which case to chose with our requirements. Be cautious with what you are using and always document what you want and what you created so that things like these can be caught early during the development phase.

Microservices and the Saga Pattern

Reading Time: 10 minutes Microservices have become a crucial part of any enterprise these days, no matter if it is a big or a small enterprise. When something this big is present in the market why not see some fundamentals of the same? So here we’ll go through the concepts like what is a microservice and Saga Patterns that an ideal microservice should have.