Java example using Salesforce's OAuth implementation. Deploys to Google App Engine.