+ Start a Discussion

Can we access the salesforce database through java code?

Dhaval PanchalDhaval Panchal
You want javascript for VF page (in salesforce) or out side of salesforce?
Code monkey see code monkey doCode monkey see code monkey do

Have a look at the SOAP API for Java:





Also search my username, I posted a working example here not long ago


Hope this helps.

There are a lot of ways to achieve this.
Salesforce exposes webservices and you can use these Webservices in your java code.

You should look at either the SOAP API or the REST API.

SOAP: http://www.salesforce.com/us/developer/docs/api/index.htm

REST : http://www.salesforce.com/us/developer/docs/api_rest/

Hope this helps!
Satish Kumar
Please mark my answer as a solution if it was helpful so it is available to others as a proper solution.
If you felt I went above and beyond, please give me Kudos by clicking on the star icon.