Home » Search Results for: Dynamo

Search Results for: Dynamo

Update DynamoDB Items with Java

java-interview-questions-answers

On a previous post we proceeded into inserting items to DynamoDB using Java. DynamoDB also supports updating items. We will use the Login table for the update examples. When issuing an update you must specify the primary key of the item you want to update. public void updateName(String email,String fullName) { Map<String,AttributeValue> attributeValues = new HashMap<>(); attributeValues.put("email",new AttributeValue().withS(email)); attributeValues.put("fullname",new AttributeValue().withS(fullName)); ...

Read More »

Scan DynamoDB Items with Java

java-interview-questions-answers

On previous posts we covered how to query a DynamoDB database Query DynamoDB Part 1 Query DynamoDB Part2. Apart from issuing queries DynamoDB also offers Scan functionality. What scan does is fetching all the Items you might have on your DynamoDB Table. Therefore scan does not require any rules based on our partition key or your global/local secondary indexes. What scan offers is ...

Read More »

Query DynamoDB Items with Java Part 2

java-interview-questions-answers

On a previous post we had the chance to issue some basic DynamoDB query actions. However apart from the basic actions the DynamoDB api provides us with some extra functionality. Projections is a feature that has a select-like functionality. You choose which attributes from a DynamoDB Item shall be fetched. Keep in mind that using projection will not have any ...

Read More »

Query DynamoDB Items with Java

java-logo

On a previous post we proceeded on inserting data on a DynamoDB database. On this tutorial we will issue some basic queries against our DynamoDB tables. The main rule is that every query has to use the hash key. The simplest form of query is using the hash key only. We will query the Users table on this one. There ...

Read More »

Insert Items to DynamoDB Tables using Java

java-interview-questions-answers

On a previous article we learned how to create DynamoDB Tables using Java. Next step is to insert items to the DynamoDB Tables previously created. Keep in mind that for the insert action the most basic step is to specify the the primary key. For the table users the primary key is the attribute email. You can add as many attributes as ...

Read More »

Create DynamoDB tables with Java

java-interview-questions-answers

On this post we will create Tables on a DynamoDB Database the java way. Before getting started we need to have local dynamodb installed since we want to avoid any costs for dynamodb usage. There was a previous post on local dynamodb. In case you use docker you can find a local dynamodb image or you can create one on you ...

Read More »

Amazon DynamoDB

java-interview-questions-answers

Introduction Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. Amazon DynamoDB automatically spreads the data and traffic for the table over a sufficient number of servers to handle the request capacity specified by the customer and the amount of data stored, while maintaining consistent and fast performance. All data items ...

Read More »

Managing Secrets with Vault

spring-interview-questions-answers

How do you store Secrets? Passwords, API keys, secure Tokens, and confidential data fall into the category of secrets. That’s data which shouldn’t lie around. It mustn’t be available in plaintext in easy to guess locations. In fact, it must not be stored in plaintext in any location. Sensitive data can be encrypted by using the Spring Cloud Config Server ...

Read More »

AWS Lambda for Beginners

software-development-2-logo

AWS Lambda is a compute service from Amazon. It makes deployment and provisioning very simple and fits very well with microservices based architecture. You can find out more about AWS Lambda here. Currently supported platforms are JVM, Node JS and Python. The programming model for the lambdas consists of Handler, Context Object, Logging and Exceptions. These are described here. Lambda ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials