Testing the Current Date/Time in Spring and Java

Keith Shakib Development Technologies, Java, Spring, Testing, Tutorial Leave a Comment

How often in Java services do we need to use the current date and time? Most of us would agree we use it quite often. Many times, we may want to record when an event happened, such as logging in, sending an invoice, or recording a chat. Other times, we may want to use the current time in a business …

Spring Batch Job Flow

Spring Batch Job Flow Using a JobExecutionDecider

Jonny Hackett Development Technologies, Java, Spring, Spring Batch, Tutorial 2 Comments

In this tutorial for Spring Batch, we’re going to take a look at Programmatic Flow decisions in a Spring Batch job using Spring’s JobExecutionDecider. Spring Batch is a pretty powerful framework and this is another useful tool to have in your Spring Batch toolbox.

To demonstrate, I’ll use a scenario that came up recently while working on my client’s project. After explaining the situation and my goals, I’ll jump into a detailed, step-by-step guide. Let’s get started!

Read XML

Using JAXB And StaxEventItemReader To Read XML Data

Jonny Hackett Development Technologies, Programming, Spring, Spring Batch 1 Comment

In one of my previous Spring Batch blog articles, I wrote about the need to read a set of data, process the data, and export the transformed data into XML for consumption by another system. In this blog, I’ll be doing the opposite. I’ll show you how to read data from an XML format instead.

Spring Boot With GraphQL: What The Cool Kids Are Doing

Matt McCandless Development Technologies, GraphQL, Spring Boot 2 Comments

Attention: The following article was published over 2 years ago, and the information provided may be aged or outdated. Please keep that in mind as you read the post.This article is going to introduce you to Spring Boot with GraphQL. We’ll walk through a simple beer app to show you what it can do. So you have built this really …