spring boot

a man and a woman using their laptop in a bar

Swagger with Spring REST API

Reading Time: 5 minutes Swagger with Spring REST API REST is the ultimate way to expose web services nowadays. But, how do state to clients and how to use a REST API? There’s no real standard or at a minimum de facto standard to expose a REST contract. Many API spots human-readable documentation, which is currently edited and thus hard to keep perfectly synchronized with the API. Another process Continue Reading

a man wearing a virtual reality headset

Resilience4j Circuit Breaker with Spring Boot

Reading Time: 2 minutes Resilence4j Resilience4j is a Java library that provides several resilience patterns for building fault-tolerant applications. It is designed to help developers write resilient, fault-tolerant, and scalable applications with minimal effort. Resilience4j is designed to be easy to use and integrate into the applications. It also provides a flexible configuration system that allows developers to customize the behavior of each resilience pattern to suit their specific 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

Axon snapshot

Reading Time: 3 minutes Aggregate Snapshotting The ability to take snapshots of your application and data can be crucial in maintaining its performance. That’s why we’re introducing snapshot events – a special kind of domain event that can summarize an arbitrary amount of events into a single one. Snapshot events can help reduce the number of events that need to be loaded in order to rebuild an aggregate’s state, 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

How to start with Spring web-flux

Reading Time: 4 minutes Spring Boot provides very good support for building RESTful Web Services for enterprise applications. This blog will explain building RESTful web services using Spring Boot in detail with a pinch of reactive programming using web flux. I will mostly be walking through the code snippets which we can use to quickly start with the web flux without having to dive deep. It is like a Continue Reading

Hacker using computer, smartphone and coding to steal password and private data. Screen with code

Understanding Profiles in Microservices

Reading Time: 4 minutes In this blog, we will learn and try to build an Understanding of Spring Profiles in Microservices. I’ll answer a few questions: what are profiles and why do we need them? Your application is running, at the initial stages, it will run on the dev environment. After some time it will be running in a test environment and finally, it will be in production. So Continue Reading

Introduction to Liferay DXP: A simple way of web development.

Reading Time: 4 minutes Introduction Liferay Portal is an open-source enterprise portal software, which provides companies with a single platform to manage all their content and applications. It brings together all the disparate systems in your business, such as email, intranet site, knowledge base, discussion forum etc. Liferay DXP is an extension of Liferay 7 CE (Community Edition) and contains additional modules such as EJB container and JMS broker 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

Spring Cloud GCP And BigQuery: A Way Large Dataset Handle

Reading Time: 5 minutes Introduction In this example, we are going to cover how to load data into the BigQuery table and query the table using GCP console and API. We will use Spring Cloud GCP to make our application ready for accessing the Google Cloud Platform services. Spring Cloud GCP and BigQuery Spring Cloud GCP and BigQuery is a library that provides support for Google Cloud Platform (GCP) Continue Reading

Spring Cloud Pub/Sub

Reading Time: 2 minutes Cloud Pub/Sub Google Cloud Pub/Sub allows services to communicate asynchronously, with latency on the order of 100 milliseconds. Pub/Sub is used for streaming analytics and data integration pipelines to ingest and distribute data. It is equally effective as a messaging- oriented middleware for service integration or as a queue to parallelised tasks. Pub/Sub enables to create systems of event producers and consumers, called publishers and subscribers. Publishers communicate 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