Spring is a popular Java microservices runtime with a large developer base that has invested a lot of time learning Spring APIs. By offering compatibility with commonly used Spring APIs, Quarkus enables Spring developers to leverage that investment and get started quickly. Spring developers can then benefit from Quarkus development features like live coding and production efficiencies like low memory usage and fast boot time. This chapter is intended for experienced Spring developers and will not cover Spring APIs in depth. The examples for this chapter update the examples from chapters 3 and 7 to use Spring APIs where possible. By updating existing examples, the following two concepts will become apparent:
- Spring APIs can be used side by side with Quarkus and MicroProfile APIs.
- Spring APIs and Quarkus/MicroProfile APIs have similar programming models.
The next section gives a more in-depth overview of the compatibility between Quarkus and Spring APIs.