Persistence

Backends as a Service (BaaS) usually refers to persisting data in a data store of some sort. This could be a relational database, a graph database or other NoSQL store.

For web applications it's usually best to interact with these via a REST API. You can find a good pragmatic introduction here

http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/getting-started.html

Note:

Result will appear here

List of notes will appear here

AD

AD

Auth

Use:

DynamoDB dynamoDB = new DynamoDB(new AmazonDynamoDBClient( new EnvironmentVariableCredentialsProvider()));

Instead of:

DynamoDB dynamoDB = new DynamoDB(new AmazonDynamoDBClient( new ProfileCredentialsProvider()));

and ensure you set the Amazon Region appropriately:

AmazonDynamoDBClient client = new AmazonDynamoDBClient( new EnvironmentVariableCredentialsProvider()); client.setRegion(Region.getRegion(Regions.EU_WEST_1)); client.setSignerRegionOverride("eu-west-1"); DynamoDB dynamoDB = new DynamoDB(client);

AD

AD