Spring Batch Job Flow

Spring Batch Job Flow Using a JobExecutionDecider

Jonny Hackett Articles, Development Technologies & Tools, 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!

Application Security

Top Security Mistakes to Avoid in AppDev

Zach Gardner All Industries, Architecture, Articles, Financial, Healthcare, Insurance, Manufacturing, Security, Spring, Supply Chain & Logistics Leave a Comment

Developing custom applications is one of the hardest professional endeavors, and making them secure is even harder. Malicious actors are constantly changing tactics and strategies, which, unfortunately, makes it impossible to completely eliminate any security threat.

There needs to be a balance between delivering features quickly to meet business objectives and mitigating security risks. Thankfully, these two goals are not mutually exclusive. This blog post dives into the top mistakes that can be made while developing custom applications.

These recommendations are different from what would commonly be seen in an OWASP list, and they should be used in addition to whatever security practices and procedures are already in place by an organizationโ€™s infosec department. These recommendations are also written from an application architectโ€™s (rather than an enterprise infrastructure) perspective, so most of them arenโ€™t covered by existing security checklists.

Groovy 4

Back in the Groovy 4

Rik Scarborough Articles, Development Technologies & Tools, Groovy, Java, Spring Leave a Comment

When I heard that Groovy 4 is coming out, I decided to get ahead of it. I went online to explore what new features we were getting and how I could start using them in my own code.

This article will not be a full list of the new features of Groovy 4; there are simply too many for one post. This post will simply be my thoughts on a select few of those features and how I would plan to use them.

Let’s get started!

Read XML

Using JAXB And StaxEventItemReader To Read XML Data

Jonny Hackett Articles, Development Technologies & Tools, Programming, Spring, Spring Batch 2 Comments

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.

Comments in Code

Comments In Our Code: Necessary or Not?

Robert Rice Articles, Development Technologies & Tools, Programming, Spring 1 Comment

No matter what your opinion is on comments, one thing is universally true: developers should create code that the next developer can understand.

Sometimes, comments are a safe, simple way to leave the code better than how you found it. Sometimes, extracting sections of code into a well-named method can be an alternative way of doing this, with the added benefit that (a) you can test this method individually and (b) it may help you to spot smells in your code or see places for further refactoring or simplification.

Each situation you encounter will require different treatment, but I hope this post has given you a starting place for creating clean, readable code in your own life!