Spring Cloud Commons


Spring Cloud Commons delivers features as two libraries: Spring Cloud Context and Spring Cloud Commons. Spring Cloud Context provides utilities and special services for the ApplicationContext of a Spring Cloud application (bootstrap context, encryption, refresh scope and environment endpoints). Spring Cloud Commons is a set of abstractions and common classes used in different Spring Cloud implementations (eg. Spring Cloud Netflix vs. Spring Cloud Consul).


Spring Cloud Context features:

  • Bootstrap Context

  • TextEncryptor beans

  • Refresh Scope

  • Spring Boot Actuator endpoints for manipulating the Environment

Spring Cloud Commons features:

  • DiscoveryClient interface

  • ServiceRegistry interface

  • Instrumentation for RestTemplate to resolve hostnames using DiscoveryClient

Spring Initializr

Quickstart Your Project

Bootstrap your application with Spring Initializr.


Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
3.0.3 CURRENT GA Reference Doc.
3.0.4-SNAPSHOT SNAPSHOT Reference Doc.
2.2.9.RELEASE GA Reference Doc.


Designed to be completed in 15-30 minutes, a guide provides quick, hands-on instructions for building a starter app for any development task with Spring.