Skip to content

Instantly share code, notes, and snippets.

@oliverdaff
Created September 4, 2011 12:02
Show Gist options
  • Save oliverdaff/1192761 to your computer and use it in GitHub Desktop.
Save oliverdaff/1192761 to your computer and use it in GitHub Desktop.
SimpleDbDevTest client
package simpledbtest;
import org.junit.Test;
import com.amazonaws.auth.AWSCredentials;
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.services.simpledb.AmazonSimpleDBClient;
public class SimpleDbDevTest {
@Test
public void test() {
AWSCredentials awsCredentials = new BasicAWSCredentials("xxx", "zzz");
AmazonSimpleDBClient client = new AmazonSimpleDBClient(awsCredentials);
client.setEndpoint("http://localhost:8080/");
client.listDomains();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment