Posts

Showing posts from December, 2013

AWS Parameters

Configuration for the Beanstalk Application AWS  Environmental properties for beanstalk environment can be defined in AWS Environment properties under Configuration this is very important since based on this we can point the application to different DB or we get the flexibility to change configuration without a redeployment or release.  We need to point the application to the database and provide other configuration parameters. Defining these here makes it possible for us to deploy the same "war" application file in Production as well as Test environments. These properties are used in xml files as ${PROPERTY_NAME} and in the code using "System.getProperty("PROPERTY_NAME") The following configurations contain general configurations which needs to be available for all modules and specific configuration for each module. We need to define new Property Names and include these when creating an AWS beanstalk instance. Using Custom Environment Prope...

Sales Force Integration

Problem: I need to connect to Sales Force REST API and fetch data for another application Solution: 1. Create a new remote access application in Sales Force 2. Create OAuth token and secret from Sales Force 3. Use the token and secret in your application The  http://wiki.developerforce.com/page/Getting_Started_with_the_Force.com_REST_API   provides how this is done but its not the latest and things have changed a lot. 1. Create a new remote access application in Sales Force         Log in to Salesforce.com with your developer account,          navigate to Setup ➤ Develop ➤ Remote Access,          Click New to create a new remote access application     Once you click Remote Access it will say      Remote Access Objects have been moved to Applications.      You'll be redirected to that page in five seconds, or you can click Take Me There to go now....