Category: Microservices with Spring
-
Reading configurations from the class path location of Spring Cloud Config Server
1. Introduction In this tutorial, we’ll learn how to read configurations from the class path location of Spring Cloud Config Server. Spring Cloud Config Server provides an HTTP resource-based API for external configuration (name-value pairs or equivalent YAML content). The server is embeddable in a Spring Boot application, by using the @EnableConfigServer annotation. By default, the Config…
-
An Introduction to Spring Cloud Config
Spring Cloud Config provides server and client-side support for externalized configuration in a distributed system.
-
Cloud-native applications and 15-Factor methodology
1. Introduction You must have heard the term Cloud-native applications. In this article, we’ll discuss this term and 15-factor methodology. Cloud native technologies empower organizations to build and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, service meshes, microservices, immutable infrastructure, and declarative APIs exemplify this approach. Cloud…
-
Generate and run Docker image of Spring Boot application
1. Introduction In this tutorial, we’ll create a Docker image of a Spring Boot application. We’ll then see how to run the generated Docker image. The Spring Boot application will be a simple “Hello World” application. We’ll create multiple containers from the image and will access the Spring Boot application from outside the container. 2.…
-
What are Microservices?
1. Introduction Microservices is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, built around business capabilities and independently deployable by fully automated deployment machinery. From an article by James Lewis and Martin Fowler Microservices enable you to break monolithic…
-
Service-oriented architecture
1. Introduction Service-oriented architecture (SOA) is a method of software development that uses software components called services to create business applications. Each service provides a business capability. Services can communicate with each other across platforms and languages. Services are reusable and can be used in different systems or can be combined to perform complex tasks.…
-
Monolithic architecture
1. Introduction This is the first article of Microservices with Spring series. In this article, we’ll discuss the monolithic architecture and its drawbacks which lead to the popularity of microservices. Not every architecture is bad and have few advantages. We’ll discuss advantages and disadvantages of monolithic architecture as well. 2. Monolithic architecture In the monolithic…
