You need to sign in to do that
Don't have an account?
Basic Integration Question
Hi,
I am force.com developer and new to Integration. Currently we have standard alone java application which is used to connect Oracle database to update salesforce data. Currently we have hard coded the credentials in java program.
- What is best approach for programmatic (Java) Integration? SOAP or REST? (The volume of data is huge.)
- What is best authentication approach to avoid hard coding the credentials in the application?
As per my knowledge Oauth will work only for web applications.
Kindly clarify the above questions and also suggest the resources that gives good understanding in SOAP, Rest ,Oauth....
Thanks in advance.
- Indy.
If the volume of data is huge you would best use the bulk API (it is based on REST).
Check these links:
http://wiki.developerforce.com/page/Loading_Large_Data_Sets_with_the_Force.com_Bulk_API
http://www.salesforce.com/us/developer/docs/api_asynch/
Regarding security and authentication you could use several ways, just search in the documentation: "authentication"
http://www.salesforce.com/us/developer/docs/api_rest/
I would use Oauth - it is built in the system, and it works great (you can use it for non mobile APIs as well) or You could use the Understanding the Username-Password OAuth Authentication Flow, both are great solutions.
I hope it helps,
Hi Roy,
Thanks for your reply.
I have gone through the documents but all the methods of Oauth , we have to use Username and Password in the client code.
Is there a way to avoid this.? Also please provide any sample code that uses Oauth.
Thanks,
Indy.