Tag Archives: HSQL

Spring Batch Listeners Example


via Spring Batch Listeners Example | Examples Java Code Geeks.

In this article we will talk about the concept of Listeners as provided by the Spring Batch framework. Listeners are the entities that help to intercept the execution of a Job or a Step and allow the user to perform some functionality. The article will be driven by an XML based Spring Batch example. Following are the tools that would be used in it.

  • Eclipse Helios
  • Maven 2.2.1
  • Spring 4.0.5.RELEASE
  • Spring Batch 3.0.4.RELEASE
  • Spring JDBC 4.0.5.RELEASE
  • HSQL Database 1.8.0.7
  • Commons 1.4
  • Spring OXM (for un/marshaling) 4.0.5.RELEASE

Spring Batch JobRepository Example


via Spring Batch JobRepository Example | Examples Java Code Geeks.

In this article we will discuss the concept of a JobRepository used in the Spring Batch framework. It is an interface with SimpleJobRepository being its simplest implementation floated by the framework. Of course, as with most things in Spring, one can have a customized implementation of a JobRepository as well. To demonstrate the concept of a JobRepository, we will cook up a simple example based on XML configuration. It will be a maven project. Tools used in the example are as follows.

  • Eclipse Helios
  • Maven 2.2.1
  • Spring 4.0.5.RELEASE
  • Spring Batch 3.0.4.RELEASE
  • JDBC 4.0.5.RELEASE
  • HSQL 1.8.0.7
  • Apache Commons 1.4

This article has been organized as shown below. And as always, the example code is available for download at the end of the article.

Spring Batch Scheduler Example


via Spring Batch Scheduler Example | Examples Java Code Geeks.

In this article we present a simple example of using Spring Batch Scheduler. We will demonstrate how to configure a job and then trigger it periodically using the Spring Batch Scheduler. This example will be based on XML configuration. Following are the tools and libraries used in this example.

  • Eclipse Helios
  • Spring 4.0.5.RELEASE
  • Spring Batch 3.0.4.RELEASE
  • JDBC 4.0.5.RELEASE
  • HSQL 1.8.0.7