Imagine your coffee shop is thriving, but one location can't keep up with the growing demand. To fix this, you open more shops across the city, easing the load. Sharding works similarly for databases. When one MongoDB server can't handle the volume, data is distributed across multiple machines (shards), making your system more...
Introduction Spring Security 6 is a powerful framework that provides authentication, authorization, and protection against common attacks, such as CSRF, session fixation, and clickjacking. As of Spring Boot 3, Spring Security 6 is now the default security version integrated within the application. This guide walks you through the process...
What is Amazon SQS? Amazon SQS(Simple Queue Service) is a fully managed message queuing service that allows us to communicate asynchronously between the different components of our application. We can send, store, and receive messages between software components. It can handle any amount of data, dynamically scaling to match the...
Java/JVM, Software development
This article will delve into data projection in the context of Spring Boot and Hibernate. This blog will examine the significance of data projection, its advantages, and disadvantages. Furthermore, I will provide a comprehensive explanation of how to implement it in your Spring Boot applications efficiently. What is data Projection? ...
Introduction In modern application development, DynamoDB has emerged as a robust choice for managing NoSQL databases in the cloud. However, developers often need a local environment for testing, debugging, and even offline development. This blog will dive into setting up DynamoDB locally within a Java Spring Boot application, enabling...
Many of you already know about Microsoft Azure, which is a cloud based computing platform infrastructure for deploying, and managing applications and services globally. One of its most useful service is the blob service, which is a service for storing large amounts of unstructured data, whether text or binary data which is easily...
To run springboot appllication there is a task "bootRun" which compile and run the application for one deployment lifecyle. This is good enough for the production, where auto compilation is not required. In the dev environment auto compilation is used to avoid recompilation. Also it is very much needed to speed up the development time...
Building compressed files of Springboot application is a tedious task and its continuous deployment using Jenkins is even more so. To simplify the above predicament, a new Gradle plugin in Jenkins has been used. So, our objective in this blog is to make use of the relation between Gradle and Springboot. Let us take it further. ...
You can allow Cross Domain Ajax calls to an application by just registering a new filter and then configure it to Allow-Origin : {your domain's} or you can use a wild card "*" to allow the calls from all domains. You can even Define the Custom Headers your application supports by defining them in a comma separated format ,...
Springboot support is provided by most of the build tools e.g. Gradle and Maven. Though grails 3.x comes with Springboot and gradle integration, there might come scenarios where you just want to create a very small and simple build that does specific task e.g. a build that will just run some threads and trigger some rabbitmq messages. Now...