Requirements:
- Git
- Github account
- Java
- Eclipse for J2EE
- WebSphere Liberty with JavaEE7
- WebSphere Liberty plugin for Eclipse
- Add *.cloudant.com.crt to the WepSphere Liberty Profile (wlp) server’s Java Key Store (JKS)
- Optional: WAS AdminCenter 1.0
- Optional: Maven
Steps:
- Create the StarterApp
- Add the Toolchain or Continuous Integration (CI)
- Setup Localhost
- Add JSPs and Servlet for News Search
- Add REST API that calls the AlchemyData News API
- Save the AlchemyData News Search Results in CloudantDB
- Add a D3js Sentiment Score Graph
- Configure the CloudantDB for Querying
- Show History of Search Results
1. Create the StarterApp
- Sign in to Bluemix.net,
- Go to Catalog,
- Under ‘Boilerplates’, click the ‘Java Cloudant Web Starter’,
- For ‘App name’ and ‘Host name’ enter ‘<username>-liberty-watson’,
- Click the ‘Create’ button,
- In ‘Application Details’ click the ‘Overview’ link,

- Review the application configuration,
- Click ‘Connections’ and click ‘Connect New’ to create the following services:
- If no AlchemyAPI service already exists, create a new AlchemyAPI service by clicking the ‘Connect New’ button,
- from the Catalog, filter by ‘Watson’, select the AlchemyAPI service, click the ‘Create’ button, and click ‘Restage’
- Note: by default you can only create 1 instance of the AlchemyAPI service under your organization in a single space, creating a second instance or connecting an existing service in another space will cause an error. If an instance already exists, click the ‘Connect Existing’ instead, select the existing AlchemyAPI service and click the ‘Connect’ button, click ‘Restage’,


