Over a million developers have joined DZone.

SpringOne Platform 2016 Replay: PayPal, Spring Boot, and REST [Video]

DZone's Guide to

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.

· Java Zone ·
Free Resource

Learn how to stop testing everything every sprint and only test the code you’ve changed. Brought to you by Parasoft.

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

Slides: http://www.slideshare.net/SpringCentral/spring-boot-paypal

Get the top tips for Java developers and best practices to overcome common challenges. Brought to you by Parasoft.

java ,spring boot ,microservices ,rest

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}