Home » Spring » Page 2

Tag Archives: Spring

AWS DynamoDB version field using AWS SDK for Java 2

spring-interview-questions-answers

It is useful to have a version attribute on any entity saved to anAWS DynamoDB database which is simply a numeric indication of the number of times the entity has been modified. When the entity is first created it can be set to 1 and then incremented on every update.  The benefit is immediate – an indicator of the number ...

Read More »

Apache Ignite and Spring on your Kubernetes Cluster Part 1: Spring Boot application

On a previous series of blogs we spun up an Ignite cluster on a Kubernetes cluster.In this tutorial we shall use the Ignite cluster created previously on with a Spring Boot Application. Let’s create our project using Spring Boot. The Spring Boot application will connect to the Ignite cluster. Let’s add our dependencies. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ...

Read More »

Composing custom annotations with Spring

spring-interview-questions-answers

Java Annotations were introduced with Java 5 back in 2004 as a way to add meta data into Java source code. Today many major frameworks like Spring or Hibernate heavily rely on annotations. In this post we will have a look at a very useful Spring feature which allows us to create our own annotations based on one or more ...

Read More »