Tech blog of j-labs' engineers. Experiences, knowledge, solutions.

Spring Cloud Contract

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.

Dominik Adamek |

20 Jun 2022

  Cloud Spring 
Read more
3

Spring Cloud Contract

20 Jun 2022 | Dominik Adamek

  Cloud Spring 

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.

Read more
4

Spring Cloud Config

09 May 2022 | Dominik Adamek

  Cloud Spring 

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.

Read more
5

Introduction to Spring Data JPA

10 Jun 2020 | Patrycja Banasik

  Java Spring Gradle JPA Maven 

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.

Read more
6

Spring Boot Actuator

13 May 2020 | Marcin Rozmus

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!

Read more
7

Spring Boot - more advanced (auto)configuration

08 Apr 2020 | Marcin Rozmus

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.

Read more
8

Spring Boot - just run your application

27 Feb 2020 | Marcin Rozmus

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.

Read more
9

Spring AOP in practice - measure method execution time

16 Oct 2019 | Tomasz Głuszak

  Java Spring 

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.

Read more