Configure Spring Batch to persist to a database

For anything more than a simplistic application, you will probably want to persist the spring batch job data to a data source. Spring batch uses a set of database tables to store information about the jobs being executed. You will need to create the following tables in your database (this …

Configuring Seam and Spring Batch

Seam provides jbpm for handling workflows, but doesn’t have anything dedicated so far to the issue of batch processing. While jbpm will handle complex business conditional steps, some steps are repetitive rather than complex and are better suited to a batch framework, like Spring Batch. In order to use Spring …

Configuring seam to integrate spring

There are advantages and disadvantages to choosing Spring or Seam for developing an application. The third option is to use both of them and leverage the best of both frameworks. If Spring and Seam are integrated then they can pass components to each other to use depending on which framework …

Configuring Icefaces and JBoss Seam Excel

As in Configuring Icefaces and Seam PDF, when you want to render excel pages in an application that already uses seam and icefaces, you need to use the default view handler for rendering the excel files.  So you need to follow some of the same steps…  Separate out the pages …

Configuring Icefaces and Seam PDF

Unfortunately seam-pdf doesn’t play nice with ICEfaces. Specifically, the D2DFaceletViewHandler doesn’t do pdf/email rendering. The workaround for this is to separate the application into ICEFaces (ice: tags) and Non-ICEFaces (h: tags) pages which are the ones that trigger a pdf or email render. You can replace icefaces.jar with just-ice.jar, which …

Spring versus Seam

I used Spring a few years ago and was really impressed with it as a framework.  I found that for less experienced developers it enforced a lot of good programming practises.  Unfortunately in the last couple of years I haven’t worked in companies that were using it.  In my current …