Article
In this article, we'll get introduced to client-side service discovery and load balancing via Spring Cloud Netflix Eureka. In a typical microservice architecture we have many small applications deployed separately and they often need to communicate with each other. Specifically, when we say client service, we mean a service that...
Dhananjay Singh
In this article, we'll be diving into Configuring Spring Boot Properties. Spring allows developers to configure a vast amount of properties for their projects. Spring Boot, besides allowing developers to start off with a project from scratch a lot more easily and time friendly than Spring, also makes it a...
Spring Data is an umbrella project which contains many submodules, each specific to a particular database. In this article, we'll be covering Spring Data MongoDB by building an application that stores and retrieves data from MongoDB, a document based NO-SQL database. If you'd like to read more about Spring Data,...
These days, password policies are very common and exist on most platforms online. While certain users don't really like them, there's a reason why they exist – making passwords safer. You've most certainly had experience with applications forcing certain rules for your password like the minimum or maximum number of characters...
Lombok is an open-source library that is used to reduce boilerplate code in Java classes. This is achieved by replacing many of the repetitive pieces of code with simple and concise annotations. Lombok injects itself in the build process (via your project/IDE) and auto generates the Bytecode for the...
In this article, we will look into few approaches of exception handling in Spring REST applications. This tutorial assumes that you have a basic knowledge of Spring and can create simple REST APIs using it. If you'd like to read more about exceptions and custom exceptions in Java, we've covered...
In this article, we'll cover the process of creating custom both checked and unchecked exceptions in Java. If you'd like to read more about exceptions and exception handling in Java, we've covered it in detail in - Exception Handling in Java: A Complete Guide with Best and Worst Practices Why...
In this article, we'll get introduced to the Spring Reactor project and its importance. The idea is to take advantage of the Reactive Streams Specification to build non-blocking reactive applications on the JVM. Using this knowledge, we'll build a simple reactive application and compare it to a traditional blocking application....
In this article, we'll cover the process of creating a Docker image of a Spring Boot application, using Dockerfile and Maven and then run the image we've created. The source code for this tutorial can be found on GitHub. This tutorial assumes that you have Docker installed on your machine....
© 2013-2024 Stack Abuse. All rights reserved.