Atom plug-in framework

You can use the WSRR Atom plug-in framework to deploy Atom Publishing Protocol (APP) API implementations to WSRR. Then, WSRR will return Atom feeds in response to appropriate HTTP requests.

The framework extends and enhances the Apache Abdera server framework, but significantly reduces the development effort required to implement an APP API by allowing a large proportion of the required runtime artifacts to be created by the framework, based on information that you specify in an XML configuration file. You can therefore focus on writing the business logic for your application.

Furthermore, you can change aspects of your Atom feed application in a declarative manner, without having to modify code.

The framework defines a single Java™ interface that you implement when creating your Atom feed application classes, allowing you to focus on writing your business logic.

To implement your own Atom feed application in WSRR, you must complete the following steps:
  1. Create one or more Atom feed implementation Java classes.
  2. Package your implementation classes in a JAR file.
  3. Load the JAR file into WSRR.
  4. Create an Atom plug-in framework configuration file to define your feed application.
  5. Load your Atom plug-in framework configuration file into WSRR.
Note: From WSRR Version 8.0 and later, the URIs returned in the Atom feeds are relative URIs by default instead of using absolute URIs. Set the WSRR_ENDPOINT_URL_ABSOLUTE property to true to return to using absolute URIs.

Implementing an Atom feed application by using the WSRR Atom plug-in framework is described in the following subtopics: