A common use case for salesforce.com is to create an external Java applicaton that periodically polls salesforce.com using the Web Services API, finds any newly created records and then processes them somehow. For example, when a new opportunity is created, an external application queries to find the new records and then sends them to an external billing system.
The new Force.com Streaming API makes this process much simpler by allowing you to subscribe to push topics that automatically send records to your application when inserted. We want to create a reusable component in Java and hosted on heroku that performs this function.
Salesforce has a really good Getting Started with the Force.com Streaming API article to help you out. It even include some Java examples. Create a pushtopic for Accounts that will stream newly created account records. Each time a new account is received in your Java app, simply post it to http://www.postbin.org and supply us with the URL.
Host your application on heroku and provide any documentation and/or instructions that are needed. Documentation will be an important part of the judging criteria for this challenge.
As a worker role, this component typically doesn't have any type of UI but feel free to push something to the browser or console for output.
Your submission will be judged by a panel of peers based upon this criteria. If you would like to request an extension, please read Can challenge deadlines be extended for more time? on our FAQ. We do not want to grant extensions unless there is a valid reason.
Install the CloudSpokes Chrome Extension for quick and easy access to the latest CloudSpokes challenges, your payments, leaderboards and more!