The second part of my Spring Batch tutorial described how you can get the required dependencies with Maven. However, Gradle has got a lot of traction during the last few years, and the odds are that you might want to use it instead of Maven. That is why I wanted to write a blog post […] Read more
Spring Framework
The first part of my Spring Batch tutorial explained why you should use Spring Batch instead of writing your own batch jobs and identified the basic building blocks of a Spring Batch job. Before you can move on and see Spring Batch in action, you have to get the required dependencies. After you have read […] Read more
Most enterprise applications rely heavily on batch jobs. They run during the night and do all the time consuming tasks that cannot be done during business hours. These tasks are often critical to the business and errors can cause serious damage (i.e. cost a lot of money). That's why it is important to write robust […] Read more
When we are writing a web application, we often face a requirement which states that our application must provide reporting to its users. Typically the users of our application want to see these reports on the user interface and have the possibility to export them as Excel and/or PDF documents. The problem is that creating […] Read more
The previous part of this tutorial taught us how we can add custom methods into a single repository. Although that is a very useful skill, it doesn't help us when we have to add the same method into all repositories of our application. Luckily for us, Spring Data provides a way to add custom methods […] Read more
A few weeks ago we learned to transform the value of a single request parameter into an object, which is passed to our controller method as a method parameter, by using Spring type converters. Using type converters is a good choice if we want to create "simple" value objects and inject these objects into our […] Read more