Serverless computing with AWS Lambda, Part 2: AWS Lambda with DynamoDB
See the original posting on JavaWorld
The first half of this article presented an overview of serverless computing with AWS Lambda, including building, deploying, and testing AWS Lambda functions in an example Java application. In Part 2, you’ll learn how to integrate Lambda functions with an external database, in this case DynamoDB. We’ll then use the AWS SDK to invoke Lambda functions from our example Java application.
AWS Lambda and DynamoDB
DynamoDB is a NoSQL document store that is hosted by Amazon Web Services (AWS). DynamoDB defines data abstractions as tables, which accept common database operations such as insert, retrieve, query, update, and delete. As with many other NoSQL databases, DynamoDB’s schema isn’t fixed, so some items in the same table can have fields that others do not.