Spring Cloud Contract helps developers in implementing the Consumer Driver Contracts(CDC) approach. In this article, we'll explain what is Consumer Driven Contract Testing and see how to use Spring Cloud Contract project to implement CDC. As an example, we'll use two Spring Boot applications: a Producer exposing a REST API, and a Consumer being a client of Producer's API.
Spring Cloud Config is a project that offers support for externalized configuration in a distributed system for both client side and server side. At server side, Spring Cloud Config helps you to implement a Config Server, which is a central service that manages configuration for applications across all environments. At client side, you can use Spring Cloud Config to automatically fetch appropriate properties at the application startup. In this article, we'll show how to use Spring Cloud Config to implement a Config Server and how to use it at a client side.
Spring Data JPA is a project from large Spring family. It helps to reduce the amount of code by easy implementation of JPA (Java Persistence API) based repositories. Its main feature is automatic creation of repository implementations at runtime.
One of the Spring Boot project is Spring Boot Actuator. This starter brings you production-ready features to help you monitor, gathering metrics, understanding traffic or the state of database and manage your application.
It exposes operational information about the running application by HTTP endpoints or JMX beans. And the best part is - only thing you need to do is to include it in your dependencies!
In our first tutorial we showed you how to move your existing application (or set up new one) with Spring Boot. In this tutorial we want to show you how easy Spring Boot manage other parts of your application.
Spring Boot is an framework, based on top of Spring Framework, to build Java applications as fast as snapping fingers. It provides things such as connectivity to databases, metrics, auto-configuration. You don't have to configure the low level code to get up and running, just use Spring Boot and get off the ground very quickly.
It's also very good in case of developing your application - stop wasting your time for boilerplate configuration - just add some dependencies and run the application. It is as simple as it sounds.
In this article we will take a closer look at Aspect Oriented Programming (AOP) with a little help from Spring Framework. AOP is powerful tool that can increase modularity, keep code clean and easier to read, maintain and develop.