• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java code to interact with SalesForce

 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I first heard about SalesForce and their AppExchange, I was excited by the thought of writing Java code that I could run on their servers. However, it seems that this is not possible, and any Java you write has to be accessed via web services running on your own servers. The platform they've provided is still quite handy since the custom apps they allow you to build don't have to be CRM-related and the GUI-building is relatively pain-free for those of us used to the past several years of JSPs, Struts, etc, but I was hoping for one additional benefit: being able to avoid depending on external servers. I understand how useful it is to be able to easily access services provided by Google and others from SalesForce's servers, but it seems like the possible points of failure would greatly increase if I were to set up some Java servlets on private servers, even if my external app was in the hands of a Java hosting company I trusted. I'm wondering if anyone else has experience with this, or what their thoughts are concerning writing Java code to interact with SalesForce's platform.
 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
O'Reilly Network has a great introductory article on AppExchange, by Tony Stubblebine, here:

http://www.oreillynet.com/pub/a/network/2006/11/13/an-introduction-to-saleforcecoms-appexchange.html

This is Tony's perspective on your question:

So far, we've been talking about building applications that are limited to filling out web forms and writing JavaScript. If you'd rather build an application in your favorite programming language, then you should plan on hosting the application on your own server and treating Salesforce as a database that you access through their API. This way you can access the data that your company or client is entering into the Salesforce application without having to be an expert yourself.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!