Integrate with an External REST API

Next

This chapter describes an efficient and uniform solution to integrate content retrieved through an external RESTful API into a Hippo-based website.

The described solution includes a simple REST client with the following features:

  • Caching of REST response
  • Time-outs to prevent application from becoming unresponsive
  • Configuration stored in Hippo Repository
  • Automatic re-initialization when configuration is modified

The solution is kept lightweight by leveraging frameworks already incorporated in or supported by Hippo's delivery tier.

The following pages describe the solution using the RESTful API in Hippo's GoGreen demo as an example.

  1. JAXB Model Creation
  2. CXF Client Development
  3. Client Configuration
  4. Usage

Next

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?