Spring

Businessman playing digital tablet in cafe

Micronaut Vs Springboot Vs Quarkus

Reading Time: 3 minutes In the Java world, there are many awesome frameworks to choose from to create applications that suit our use case. In this article, we are going to compare popular frameworks Spring boot, Micronaut, and Quarkus. so let’s get started… We are starting with the most popular framework Spring. Spring boot The Spring framework is dominating the java world for quite some time and it’s a Continue Reading

Router Function in Spring Webflux

Reading Time: 3 minutes Overview In Spring WebFlux, router functions are used to route requests to the corresponding HandlerFunction. Typically, you don’t write router functions yourself, but use a method in the RouterFunctions handler class to create them. RouterFunctions.route() (with no parameters) gives you a fluent constructor to create a router function, while RouterFunctions.route(RequestPredicate, HandlerFunction) gives you a direct way to create a router. It is generally recommended to Continue Reading

Visualizing data - blue matrix with data, electronic, digital, abstract, dark blue, data science

Logging in Spring WebFlux

Reading Time: 2 minutes Overview: DEBUG level logging in Spring WebFlux is compact, minimal, and human-friendly. Itfocuses on high-value bits of information that are useful over and over again vs others that areapplicable only when debugging a specific issue. TRACE level logging generally follows the same principles as DEBUG (and for example also should notbe a firehose) but can be used for debugging any issue. In addition, some log Continue Reading

Getting started with Spring Webflux

Reading Time: 3 minutes Overview Hello everyone, In this blog, I am going to discuss an introduction to webflux. The original web framework included in the Spring Framework, Spring Web MVC, was purpose-built for the Servlet API and Servlet containers. The reactive-stack web framework, SpringWebFlux was added later in version 5.0. What is Spring Webflux? Spring Webflux is fully non-blocking and supports Reactive Streams back pressure. It runs on Continue Reading

Hacker using computer, smartphone and coding to steal password and private data. Screen with code

Understanding Profiles in Microservices

Reading Time: 4 minutes In this blog, we will learn and try to build an Understanding of Spring Profiles in Microservices. I’ll answer a few questions: what are profiles and why do we need them? Your application is running, at the initial stages, it will run on the dev environment. After some time it will be running in a test environment and finally, it will be in production. So Continue Reading

Spring Cloud Gateway Route Predicate Factories

Reading Time: 3 minutes Reverse Proxy The reverse proxy is a server used in communication between the external clients and the internal applications. With the help of reverse proxy the flow of the traffic between the clients and server become smooth and more efficient. Example of reverse proxy nginx. The main use of a reverse proxy server are : Load-Balancing Web Acceleration Security & Anonymity API Gateway The API Continue Reading

Spring Security: How it works internally

Reading Time: 5 minutes Definition Spring Security is a framework provided by Spring that helps to customize an access and authentication process. It plays a very crucial role in terms of securing the applications. Spring Security, mainly focuses on authentication and authorization to provide all benefits to java applications. It is very helpful and provides an easy approach to apply in real projects. And, permits to do custom modifications Continue Reading

Introduction to Spring MVC

Reading Time: 3 minutes Spring is the most commonly used framework in Java. It is a general purpose framework i.e it can be used in console applications, desktop applications, web applications, or web services. It is a modular framework i.e it contains different module. Core module : Provides basic IOC implementation web-mvc : Provides an mvc based framework for developing dynamic web-application. ORM-module : Facilitate integration to the framework Continue Reading

Spring Security – A Starter Guide

Reading Time: 5 minutes spring security – authentication and authorization in detail Topics covered Basics of spring security What is spring security? What spring security can do? 5 core concepts of spring security and their detailed breakdown. Definition of Spring Security : The proper definition of spring security is: spring security is an application level security framework that provides ways to to apply application level security to the application. Continue Reading

Part- I : Spring Cloud Gateway – An Introduction

Reading Time: 2 minutes Cross-cutting requirements in Microservices like authentication, authorization, load balancing, rate limiting etc. also required to be implemented. But the question is where it needs to be implemented. Here, no prices for guesses, it should be thorough API Gateway or Edge server only. ‘Spring Cloud Gateway’, a successor of ‘Netflix Zuul’ and pretty good in fulfilling such demands. The first level benefit of Spring Cloud Gateway Continue Reading

Getting Started – Spring Boot with MongoDB

Reading Time: 6 minutes Spring Boot with MongoDB Topics to cover in Spring Boot and MongoDB In this blog we are going to see the beginning basics of what Spring Boot is? Ways to create Spring Boot Application? What is MongoDB? How to install MongoDB in Ubuntu? How to connect Spring Boot with MongoDB in Ubuntu? Let’s dive right in… What is Spring Boot? Spring Boot is a module Continue Reading

How to start with Spring MVC

Reading Time: 3 minutes In this blog I would like to introduce you to the Spring MVC framework, how it works with very detailed steps and at the end I will show How to create a Spring Controller class and view in a simple project. What is Spring MVC? It is a framework of Java that is generally used in order to develop web applications. It is built on Continue Reading