Java Reference
In-Depth Information
void getConnection(PrintWriter out, HttpServletRequest req) {
ConnectorConfig config = new ConnectorConfig();
config.setUsername(username);
config.setPassword(password);
connection = Connector.newConnection(config);
}
}
Once you've completed the code, deploy your application. Browse to the application
in your browser. You should see the default index.html file that was created with the
Web Application Project template. Click the listing for the servlet where you added
the code from Listing 9-9. You should see something similar to Figure 9-14.
Salesforce.com creates a default set of accounts in Development orgs, so you should
have the same record set.
Listing 9-14. Salesforce.com integration from Google App Engine
Summary
In this chapter we introduced you to application administration and integration with
other services like Salesforce.com and Google Wave to demonstrate how easy it is to
connect App Engine applications to leading cloud platforms. Starting off with the App
Engine Administration Console, you viewed your list of application IDs and learned
 
Search WWH ::




Custom Search