SpringOne Platform 2016 Replay: PayPal, Spring Boot, and REST [Video]
PayPal is no stranger to Spring, but they recently started using Spring Boot, and other tools, to help manage microservices and maintain its RESTEasy Spring Boot starter.
Join the DZone community and get the full member experience.Join For Free
Although PayPal has been using Spring in production for many years, as part of a goal to move towards microservices, PayPal recently introduced Spring Boot to its Java framework (known as “Raptor”), which includes RESTful services, Batch, and Message Daemon applications. Besides Spring Boot, other Spring projects are used, such as Spring framework, Spring Batch, and Spring Integration.
PayPal's Java RESTful framework provides a microservices architecture and deployment model, relying on a PaaS infrastructure on the cloud, CI, Docker, embedded containers, and Spring Boot. Additionally, many Spring Boot starters, and Spring-based features, were developed to achieve PayPal needs.
A few examples are:
A REST client abstraction and DI mechanism.
Central application logging (abstracting URIs and supporting sub-resources when logging traffic to RESTful endpoints).
Application logging to asynchronous activity in Spring Integration channels (for messaging applications).
A few Spring Boot starters for automatic initialization and configuration of “opinionated” PayPal components.
RESTEasy Spring Boot starter.
Regarding REST services, RESTEasy is the JAX-RS choice for PayPal. Although there is one Spring Boot starter for Jersey, and one for Spring REST, there was none for RESTEasy. Because of that PayPal also created, and open sourced, a RESTEasy Spring Boot starter.
Recorded at SpringOne Platform 2016.
Speakers: Fabio Carvalho, Eduardo Solis
Published at DZone with permission of Pieter Humphrey, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.