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
BidunBidun 

HELLO WORLD application in AMAZON EC2 using salesforce REST API

Hi,

I am Trying to get started with Amazon EC2 and Salesforce intgration to Build a website. I want to use REST API for this integration. Can someone help me build a HELLO WORLD Application.

 

Say my user enters his name 'John' I will send  him a responce 'HELLO WORLD JOHN'

 

I am faliliar with salesforce functinalities and customisations. I can also build a WSDL pretty quickly. But I need guidance to understand how i can provide REST service to the applciation in EC2.

 

I Downloaded the toolkit and looked into the classes as per the information i obtained from developerforce. But i still need a step a step by step process after downlading it.

 

Any information will really be helpful.

 

Thank you,

Bidun

Mark SFMark SF

Here is an article that should help you get started with Java, and it's still helpful for other languages:

 

http://wiki.developerforce.com/index.php/Getting_Started_with_the_Force.com_REST_API

Force.comForce.com

Hi Bidun,

 

I also want to run a simple java program on Amazon Ec2. I have an expertise on Salesforce and can build webservices on salesforce but I am new to Amazon EC2. 

 

I do not know how to host my java program on EC2 and how to call EC2 through Salesforce. Please guide me.

Any help will be highly appreciated.

 

Thanks

robespierrerobespierre

Hi,

 

I have a similar interest (running a web application hosted on an EC2 instance). Have you made any progress?

 

I would be willing to discuss my approach with you. I am using the SOAP API, but most aspects of the app's architecture should apply in both cases.

 

Feel free to contact me.

 

Regards

Force.comForce.com

Hi robespierre,

 

You may discuss your approach with me. I will try to help you in the best way I can.

 

Thanks,

Pragati

robespierrerobespierre

Hi,

 

Thanks for the response.

 

I have initially created a web application that is hosted on an EC2 instance and handles all the business logic. On the salesforce side, I have only created a web tab.

 

Now, I understand that this is an approach that will not be considered a Native Application for the security review. It uses Amazon Web Services, but it does not make any authenticated calls to the Amazon Web Services API. It will probably be considered just another hosted application on any other hosting provider.

 

My question is, would it be possible to create a site on force.com that will access a web service that I create on this EC2 instance? Would this then be considered a Native Application?

 

Regards.