Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I am new of INTEGRATION. So please help me.

I have a Java Program, Now i need to integrate this program to Salesforce?

Java Code:

public class abc {
public void a()
{
  int a=20,b=30;
  int c=a+b;
  System.out.println("The Value is:"+c);
}
public static void main(String[] args) {
   abc test = new abc();
  test.a(); 
}

Now i need to connect this Java programme to Salesforce through Integration?

share|improve this question

closed as too broad by BarCotter, Keith C, Bob Buzzard, Lex, Samuel De Rycke Mar 10 at 11:48

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
I suggest you be more explicit about where the Java code is running, what functionality it provides (the code you have included looking entirely contrived), and why you need to access it from Salesforce (or need it to access Salesforce). Your question is too broad at present to be answerable. –  Keith C Mar 10 at 9:26

1 Answer 1

If not through middleware integration is commonly done through the SOAP or REST API webservices exposed by salesforce. You will need to learn how to do this from Java, but that is not salesforce specific and better asked on stackoverflow of java specific fora.

In terms of salesforce integration, these are a few references:

http://wiki.developerforce.com/page/Integration

SOAP API documentation

REST API documentation

Force.com webservice connector (java)

share|improve this answer
    
Good summary given the scope of the question, i'd perhaps add one more useful link for Java devs, that is the Salesforce Web Service connector. wiki.developerforce.com/page/… –  Andrew Fawcett Mar 10 at 10:33
1  
That is indeed a useful addition, I've added it in. Thanks –  Samuel De Rycke Mar 10 at 10:39
    
@user5564 check this link dhruvsoft.com/blog/… –  Sathya Mar 11 at 10:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.