Force.com Demo App on Google App Engine (Python)

April 14th, 2009

When Google announced the other day that they were supporting Java I started to dream about all of the cool Java / Salesforce.com apps that I could write. Then I read through the Will it play in App Engine page and my heart skipped a beat. There in black and white it stated, “We do not currently support JAX-RPC or JAX-WS.” How was I supposed to write Salesforce.com integration application when I couldn’t invoke web services?

Devastated, I turned my efforts towards building a Force.com application on Google App Engine with Python. I had written a number of Python applications for Salesforce.com but I had always just called Apex web services when needed. I thought I would take a crack at the Python Toolkit. The installation was simple enough and the Toolkit includes a number of examples (unit test) to get you up and running quickly.

I threw together a small demo app that connects to my Developer Org and provides the following functionality:

  1. Create a new Account
  2. Search for Accounts by keyword
  3. View an Account and all Opportunities for the Account
  4. Create a new Opportunity for an Account

You can find the demo application and source code at https://jeffdouglas-salesforce1.appspot.com.

During the development process, I started to think of ways to get around the lack of web services functionality in the Java Early Look. Perhaps I could use Python to expose the Force.com platform as REST web services and have the Java Early Look call these services?

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Categories: Google App Engine, Python, Salesforce

Leave a comment

Comments Feed3 Comments

  1. Steve F.

    Jeff,

    Thanks for posting your findings and perspective. This is great! Have you ever done any similar telesales app development on NetSuite?

    Best regards,

    Steve, Lingo Technologies

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  2. Kyle

    Jeff, great posting. Nicely done.

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  3. Google App Engine for Java Demo Application | Jeff Douglas - Technology, Coding and Bears... OH MY!

    [...] some time to finish up my first demo application. My original idea was to do a Java version of the Salesforce.com demo that I did in Python on Google App Engine, but I quickly found out that Google App Engine for Java does not support Web services. Hopefully [...]

Leave a comment

Feed

http://blog.jeffdouglas.com / Force.com Demo App on Google App Engine (Python)