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.
2.2.4 CURRENT GA Reference Doc. API Doc.
3.0 SNAPSHOT Reference Doc. API Doc.
3.0 0-M3 PRE Reference Doc. API Doc.
2.2.5 SNAPSHOT Reference Doc. API Doc.
2.1.6 GA Reference Doc. API 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.