springboot

Creating RESTful API using SpringBoot and MongoDB

Reading Time: 3 minutes In this blog, we are going to create RESTful APIs using spring boot and containerized MongoDB. What are RESTful API, SpringBoot, and Containerized MongoDB In this section, we will go through the term’s REST API, SpringBoot, and Containerized MongoDB RESTful API A REST API (also known as RESTful API) is an application programming interface that conforms to the constraints of REST architecture. REST stands for Continue Reading

Getting Started with Spring Security

Reading Time: 3 minutes Spring Security Spring Security is a framework that focuses on providing both authentication and authorization to Java applications. Basically, it provides ways to apply application-level security to the application. Let’s understand spring security with a real-life example Suppose we developed an application IPL Management System, and it has two different services i.e. User Service and another one is Admin Service. Now we need to make sure Continue Reading

Apache Camel overview and Integration Apache Camel with Spring Boot

Reading Time: 3 minutes Introduction Camel is an open-source integration framework designed to make integrating systems simple and easy. It uses URIs to enable easier integration with all types of transport or messaging model including HTTP, ActiveMQ, JMS, JBI, SCA, MINA, or CXF together with working with plug-gable Data Format options. Camel is a undersized library that has minimal dependencies for painless embedding in any Java application. Apache Camel Continue Reading

Spring Boot: Launch your application in Google Cloud Platform (GCP)

Reading Time: 4 minutes Google Cloud Platform provides a cloud computing services that run the Spring Boot application in the cloud environment in much simpler and seamlessly manner. In this blog we will talk about Google Cloud Platform and Spring boot and how users can deploy spring boot application in App Engine Google Cloud Platform. Google Cloud Platform (GCP): Google Cloud Platform is offered by Google, is a suite Continue Reading

Intro to Spring AOP

Reading Time: 2 minutes The world is a stage where all of us are artists and Constant learning is the foundation of success.In order to continue your learning with something new, here were are going to learn about working with Spring AOP.Here we will look at what AOP is, and what features we have with AOP. Let’s start with the intro first. Spring AOP AOP stands for Aspect-Oriented ProgrammingSpring Continue Reading

Intro to Spring Reactor: Part 1

Reading Time: 2 minutes The world is a stage where all of us are artists and Constant learning is the foundation of success.In order to continue your learning with something new, here were are going to learn about Spring Reactor. Let’s start with the basics about what is Reactive Programming first. Reactive Programming It’s important to understand the difference between reactive programming and reactive systems. We use both these Continue Reading

Build your first web application in Spring-boot

Reading Time: 2 minutes Spring and Spring Boot:Spring Framework could be a Java platform that has comprehensive infrastructure supportfor developing Java applications. Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”. If you use Gradle, add the following dependency to your build.gradle file: If you use Maven, add the following dependency to your pom.xml file:https://mvnrepository.com/artifact/org.springframework.boot/spring-boot Now run the service with curl (in a separate terminal Continue Reading

Springboot all possible ways to read props from Configuration file.

Reading Time: 2 minutes Springboot YML/ Properties file Various properties can be specified inside your application.properties file or inside your application.yml file, the following ways to reading properties from YML or Properties file. Reading a single property Read bunch of properties then use can use @ConfigurationProperties. Read entire YML/Property file Visit following URL and here you can find more properties:https://docs.spring.io/spring-boot/docs/1.1.6.RELEASE/reference/html/common-application-properties.htmlhttps://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html In my case i’m using YML file Reading a 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

Axon Part 2 : Structure, Spring Boot Integration and Server Setup

Reading Time: 4 minutes This is Part 2 of an ongoing series of blogs explaining Axon Framework. This blog is going to take you a step ahead and help you know more about the application directory structure to be followed. Also we’ll understand the spring boot integration for Axon. Additionally, this blog will have a quick Axon Server Setup Guide. Prerequisites: Go through the Axon Part 1 – An Continue Reading

Circuit Breaker in microservices : Istio

Reading Time: 4 minutes Hey guys,Today we’ll find out what circuit breakers are, why you should be using them in any distributed system or microservices architecture along with Istio. Why Circuit Breaker? We’ve got a series of microservices here that don’t have to be microservices ( in Kubernetes these will be pods, services, etc ). They’re going to be connected together in some way, a cascading failure is where 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

Resilience4j at a Glance

Reading Time: 4 minutes Resilience4j at a Glance Scope of this article is applications based on microservice architecture. Let me begin with a question, what is most important non-functional requirement from any application? Undoubtedly the answer of this question will be ‘Robustness’. This means applications must behave reasonable with respect to adverse scenarios. Against all adverse scenarios application needs to take either corrective action or redirect to reasonable action Continue Reading