Spring

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

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

How to handle URL Encoded Form Data in Spring REST?

Reading Time: 3 minutes Sometimes, our REST endpoint needs to consume data in the form of application/x-www-form-urlencoded or using multipart/form-data. The source of this data can probably be an HTML form. Now, the first question which should come to our mind is, what is exactly this application/x-www-form-urlencoded or using multipart/form-data and how can we let our spring application consume this. This blog will help you to find answers to Continue Reading