| CODE |
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.
19 members participating with 12 registered
Heroku | Salesforce.com | Java
Ended Apr 24, 2012 at 6:00 PM
Winner Announced on April 27, 2012
View the challenge results
Give us your feedback about this challenge.
Total: $850
1st $250
2nd $150
3rd $150
4th $150
5th $150
Install the CloudSpokes Chrome Extension for quick and easy access to the latest CloudSpokes challenges, your payments, leaderboards and more!