spring boot

Let’s get benefit of Spring security

Reading Time: 3 minutes Spring Security is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications. It’s not only provide authentication it’s also provide authorization, to know authentication and authorization in details please go through this knoldus blog. In this blog we will see how we can secure a spring-boot application. how we can provide user defined password and how Continue Reading

Exploring Spring Boot :Beginners Level

Reading Time: 4 minutes What is Spring Boot Spring Boot is a project which is built on the top of the Spring Framework. it will provide us an easier and faster way to set up likewise configure. Similarly it runs both simple and web-based applications. Spring module provides the RAD (Rapid Application Development) feature.The Spring Framework is used to create a stand-alone Spring-based application.you can just run because it needs minimal Continue Reading

Testing Spring Embedded Kafka consumer and producer

Reading Time: 2 minutes This blog I’m talking about the Kafka testing without physical installation of Kafka services or docker container.For testing, I’m going to use another Spring library that is called spring-kafka-test. It provides much functionality to ease our job in the testing process and takes care of Kafka consumer or a producer works as expected. Maven Test Dependencies application.yml props file These are the minimum configuration for 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

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

Customized logging using MDC

Reading Time: 3 minutes Introduction Mapped Diagnostic Context or MDC manages contextual information on a per-thread basis. So we can benefit from MDC when logging in a multi-threaded application. For example, we can store the IP address of each request in a web application and insert this data into each log statement. In our case, we’ll introduce a unique correlation id for each request. Web servers generally have a 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

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