DynamoDB Local
DynamoDB Local is a local client-side database that emulates the DynamoDB database in our local system. This is pretty helpful while developing an application that uses DynamoDB as the backend. Every time after writing a module, in order to test whether the code works fine, we need to connect to Amazon and run it. This will consume a lot of bandwidth and a few dollars. To avoid this we can make use of DynamoDB Local and test the code locally. Once the testing is done we can then make our application use the AWS DynamoDB service. You need to perform only three actions for this, which are as follows:
- Download DynamoDB Local from http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.
- Start the DynamoDB Local service (should have JRE 6 or later).
- Point the code to use the DynamoDB Local port.
We don't need to discuss more about how to download a file from the Internet. So, let's go directly to step 2. The downloaded file might be a zipped one (tar...