springboot

Implementation of SAGA with Axon FrameWork with SpringBoot Part – 2

Reading Time: 5 minutes In Part 1 (this post), we will continue with our implementation and connect our services to the Axon Server. Common Service Implementation: Structure of Common Service: Payment Service Implementation: Payment Service Structure : Payment Aggregate: This service will receive the event and process it accordingly. Shipment Service Implementation: Shipment Service Structure : ShipmentAggregate: Will handle the event and process the incoming event.

Data centre

Liquibase with Spring Boot

Reading Time: 3 minutes The purpose of this blog is to show you the process of using Liquibase as a piece of your Spring Boot workflow. Springboot makes it easy to create standalone, production-maven Spring-based applications. Introduction Liquibase is an open-source database that has an independent library for tracking, managing, and applying database schema changes. Liquibase was started in 2006 and it is used to allow easier tracking of database changes, especially in an agile software Continue Reading

Implementation of SAGA with AxonFrameWork with SpringBoot Part.1

Reading Time: 6 minutes Introduction In Part 1 (this post), we will understand what Saga Pattern really is. We will start building the sample application using Saga Pattern. Continuing in Part 2, we will continue with our implementation. Saga Pattern proposes implementing distributed transactions in the form of Sagas. Whenever a local transaction occurs, it publishes a message or an event. Such an event is responsible for triggering the next Continue Reading

Integrating A Springboot Application with MarkLogic as backend service in easy way.

Reading Time: 3 minutes In this article, I am going to show you how to use Spring Boot as a RESTful web service and MarkLogic as a backend database and how to do marklogic integration with springboot application Introduction Assuming that you have a Springboot application which uses MarkLogic as backend service, this guide will show you how to integrate your application with MarkLogic. The first thing you need Continue Reading

Digital business and technology

Database Versioning with Spring Boot and Liquibase

Reading Time: 3 minutes What is Liquibase Liquibase is an open-source database-independent library for tracking, managing, and applying database schema changes. Basically, it works with various types of databases and supports various file formats for defining the database structure. The feature that is probably most useful in Liquibase is its ability to roll changes back and forward from a specific point and save you from needing to know what was the last Continue Reading

young business people working with digital tablet while discussing together in conference room

Spring Boot Rest Authentication with JWT

Reading Time: 6 minutes In this tutorial, we will create a simple Spring boot application that uses the JWT authentication to protect a REST API. For this, we use Spring security and web configuration for the token generation. In this, we create an example that uses the REST POST/GET API to generate the JWT token, and the user who has the valid token they only have able to access Continue Reading

SpringBoot application using MarkLogic as a Docker Container

Reading Time: 4 minutes In this blog, we will know how we can create a SpringBoot application that uses MarkLogic as the database tier. In this application, we will be running MarkLogic in Docker containers. SpringBoot A spring boot is an open-source Java-based framework. Spring Boot is a project that is built on top of the Spring Framework. It makes it easy to create stand-alone, production-grade applications that we Continue Reading

Quarkus: Supersonic Subatomic Java

Reading Time: 3 minutes Cloud computing, container technology, or systems for orchestrating containers like Kubernetes weren’t even a concept when Java was created. It was built to maximize throughput (requests/s) at the expense of CPU and memory consumption, resulting in a slow startup time. As the world is moving from monolith to micro-service and serverless architecture where we have multiple instances of a service running scalability issues like startup Continue Reading

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