Step-By-Step Guide to Get Started with Salesforce REST API using Java
2015-04-03 13:28
816 查看
http://www.asagarwal.com/2401/step-by-step-guide-to-get-started-with-salesforce-rest-api-using-java
How do you connect to Salesforce from an external application, say, for example Java? If you Google for the information, you will quickly learn that Salesforce provides different methods and different APIs. But what you will probably not find is a step-by-step
guide teaching you exactly how to do it. In this blog post, I have stitched together a complete step-by-step instructions with screenshots on how to download, install, configure and use Salesforce’s REST API to connect from a java program and execute some
basic transactions (query, insert, update, delete records). In less than 45 minutes, you will have a fully functional java program that will connect to Salesforce and execute transactions in Salesforce.
The guide includes downloading & installing necessary HttpClient and JSON frameworks that is required to work with Salesforce REST APIs. This is followed by referencing the JAR file in your java program, logging on to Salesforce from the java program, querying
and manipulating data. Here is an overview of steps that needs to be completed and is covered in the guide
Install Java
Install Eclipse
Install HttpClient
Install JSON Framework
Create Connected Apps in Salesforce
Setup REST Environment in Java
Create Java Program
Execute Transactions using REST API
(Once you are done with this, you may also want to explore my other blog post Step-By-Step
Guide to Get Started with Salesforce SOAP API using Java to learn how to get started with Salesforce SOAP API using Java )
Even if you are not a developer, you should be able to follow the guide and have working java program at the end of it. Sounds interesting? Download the following presentation and let’s get started…
?
Java Code to Connect to Salesforce using REST API
?
Java Code to Connect, Query, Insert, Update & Delete to Salesforce using REST API
Not only this, you can go a step further and use other RESTful APIs that Salesforce provides to extract and manipulate data and metadata. For a list of different APIs along with a brief explanation on which API should be used when, please navigate to URL https://help.salesforce.com/HTViewHelpDoc?id=integrate_what_is_api.htm
Other References:
Salesforce REST API Developer Guide – https://www.salesforce.com/us/developer/docs/api_rest/
Setting Up Your Java Developer Environment –https://help.salesforce.com/help/pdfs/en/salesforce_developer_environment_tipsheet.pdf
How do you connect to Salesforce from an external application, say, for example Java? If you Google for the information, you will quickly learn that Salesforce provides different methods and different APIs. But what you will probably not find is a step-by-step
guide teaching you exactly how to do it. In this blog post, I have stitched together a complete step-by-step instructions with screenshots on how to download, install, configure and use Salesforce’s REST API to connect from a java program and execute some
basic transactions (query, insert, update, delete records). In less than 45 minutes, you will have a fully functional java program that will connect to Salesforce and execute transactions in Salesforce.
The guide includes downloading & installing necessary HttpClient and JSON frameworks that is required to work with Salesforce REST APIs. This is followed by referencing the JAR file in your java program, logging on to Salesforce from the java program, querying
and manipulating data. Here is an overview of steps that needs to be completed and is covered in the guide
Install Java
Install Eclipse
Install HttpClient
Install JSON Framework
Create Connected Apps in Salesforce
Setup REST Environment in Java
Create Java Program
Execute Transactions using REST API
(Once you are done with this, you may also want to explore my other blog post Step-By-Step
Guide to Get Started with Salesforce SOAP API using Java to learn how to get started with Salesforce SOAP API using Java )
Even if you are not a developer, you should be able to follow the guide and have working java program at the end of it. Sounds interesting? Download the following presentation and let’s get started…
?
Other References:
Salesforce REST API Developer Guide – https://www.salesforce.com/us/developer/docs/api_rest/
Setting Up Your Java Developer Environment –https://help.salesforce.com/help/pdfs/en/salesforce_developer_environment_tipsheet.pdf
相关文章推荐
- java使用rest api登录salesforce | How to do authentication to salesforce from java class using Rest API
- salesforce rest api 登录 | Authenticating to Salesforce using REST, OAuth 2.0 and Java
- salesforce rest api 登录 | Authenticating to Salesforce using REST, OAuth 2.0 and Java
- Step By Step guide to Read XML file in Java Using SAX Parser Example
- Simple Paypal Integration with Salesforce (Step by Step)
- Step-By-Step Guide To Create Physical Standby On Normal File System For ASM Primary using RMAN (文档 I
- A Programmer's Guide to Data Mining 2:Get started with recommendation system(User based filtering)
- How to Install Apache Tomcat 8 (on Windows, Mac OS X, Ubuntu) and Get Started with Java Servlet Prog
- A Step-by-Step guide to create a simple FPM application using Feeder Class for FORM GUIBB
- How-To : Using EJB 3.0 and Java Persistence API with Spring in OC4J
- Step-by-Step Guide to XI Transports Using CMS
- A Step-by-Step Guide to Using iAd Workbench to Promote Your iOS Apps June 11, 2013, Raymond in Badmi
- Implementing Sugarcrm: A Step-by-step Guide to Using This Powerful Open Source Application in Your B
- Step By Step Guide To Create Physical Standby Database Using RMAN Backup and Restore (Doc ID 469493.
- Step-by-step guide on File-to-IDoc using SAP PI 7.0
- 在Java程序中调用Salesforce REST API
- Step By Step Guide To Create Physical Standby Database Using RMAN Backup and Restore
- Using Advanced REST Client to test REST Request - step by step
- THE DEAD-SIMPLE STEP-BY-STEP GUIDE FOR FRONT-END DEVELOPERS TO GETTING UP AND RUNNING WITH NODE.JS,
- Step-By-Step Guide To Create Physical Standby On Normal File System For ASM Primary using RMAN