Running the Newskeeper sample

A sample application that uses the document generation service for producing documents.

Before you begin

About this task

The learning objective of the Newskeeper sample application (dgaas.sample.war) is to demonstrate the use of document generation service technology for generating documents, and provide a storage interface for document generation service assets and documents.

This Newskeeper sample uses live RSS feeds to produce documents. You can select the feed to publish from an user interface.

The Newskeeper sample is available as a web archive file, dgaas.sample.war, located in remote-services directory under the installation directory for IBM Rational Publishing Engine. For example, C:\Program Files\IBM\Rational\Publishing Engine\remote-services\dgaas.sample.war.

Procedure

  1. Deploy the dgaas.sample.war on your application server. See the help documentation from your application server for deploying to Apache Tomcat, WebSphere Application Server, or WebSphere Application Server Liberty.
  2. To run the Newskeeper sample (dgaas.sample.war) open the following URL in a browser:
    http://hostname:port/dgaas.sample/newskeeper
    For example: http://localhost:9080/dgaas.sample/newskeeper/
    Important: To run the document generation service sample applications successfully, you must deploy document generation service on the same machine and port under the /dgaas URL, see the following example:
    • URL for document generation service: http://localhost:9080/dgaas
    • URL for document generation service sample applications: http://localhost:9080/dgaas.sample

Results

The following Newskeeper sample should display in your browser:

index.html of the News Keeper sample


Feedback