springboot

man people woman laptop

Getting started with Spring Boot 3.0

Reading Time: 6 minutes Introduction Spring Boot is a popular framework for building web applications and microservices in Java. The latest version, Spring Boot 3, released in September 2021. And it brings a number of new features and improvements to the framework. One of the main new features in Spring Boot 3 is support for Java 16. This means that developers can now take advantage of the latest features. Continue Reading

ebook-2

Evolving Database using Spring Boot and Liquibase

Reading Time: 3 minutes Introduction In this Blog, we will see an example of evolving database using Spring Boot and Liquibase with YAML and SQL configuration. Here we will learn how to build applications using maven build tools. Liquibase is an open-source library for tracking, managing, and deploying database changes that can be used for any database. It helps you create the schema, run them during deployment, and also Continue Reading

Businessman playing digital tablet in cafe

Reliable Database Migrations with Liquibase and Spring Boot

Reading Time: 2 minutes In this blog, we look at database migrations with the very popular Liquibase database migration library and how you can use it in the context of a Spring Boot application. Setting Up Liquibase in Spring Boot By using default Spring Boot auto-configures Liquibase while we upload the Liquibase dependency to our construct document.Spring Boot makes use of the primary DataSource to run Liquibase (i.e. the only annotated with @primary if there is a couple of). In case we need to apply a special DataSource we can mark that bean as @LiquibaseDataSource.rather, we are able to set Continue Reading

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