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?

    We rely on cookies

    to optimize our communication and to enhance your customer experience. By clicking on the Accept and Close button, you agree to the collection of cookies. You can also adjust your preferences by clicking on Manage Preferences. For more information please see our Privacy policy.

    Manage cookies
    Accept & close

    Cookies preferences

    Accept & close
    Back