function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
aks0011aks0011 

Want to Learn about...... Java to Salesforce Connection Api's.

Hi,

I have just used a java program to insert an account externally...
but I have not Understand it completely .... so now I want to know about these classes, all in it's liabrary.

com.sforce.soap.enterprise.EnterpriseConnection
com.sforce.soap.enterprise.GetUserInfoResult
com.sforce.soap.enterprise.sobject.Account
com.sforce.ws.ConnectionException
com.sforce.ws.ConnectorConfig

so if anyone can provide a good link to know thease all than plz let me know . thanks. in advance.
Ankit AggarwalAnkit Aggarwal
Hi,

Please see the below description for each classes:

EnterpriseConnection: This class is basically used to make salesforce connection using username and password.

GetUserInfoResult : This class stores the information of the login user. That contains the various information of the user as specified in below link:
https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_getuserinfo_getuserinforesult.htm

Account: This is a SObjectType or MetaData, which store the information in saleforce. It's similar to Object in Java. 

ConnectionException: This is exception handler class for catching the various exception.

ConnectorConfig:This class is used to store the valid session.

I hope this will make you to understand.

Have a nice learning.

Cheers,
Ankit Aggarwal