Search

Recent Posts

Authors

Archives

Blogroll

Subscribe

Posts Tagged ‘maven2’

Setting Maven Properties With Groovy

Posted by Timothy Myer on Tuesday, June 30th, 2009

This post demonstrates how to use a Groovy script to transform a Maven project property. Such a transformation is sometimes necessary, for example, for transforming a Windows-style path to Unix. For myself, I formalized this solution while trying to install a jar in PostgreSQL automatically during the artifact deployment phase.

[View Post]

Evicting the Hibernate Domain Cache With Spring

Posted by Timothy Myer on Friday, May 22nd, 2009

This tutorial presents an exploration of the Hibernate second-level cache. By the end, we will have the tools to integrate Ehcache into a web application and to expire its entries at fixed, regular intervals using the Quartz scheduler to run a Spring batch process.

[View Post]

Custom Inserts With Hibernate and Oracle

Posted by Timothy Myer on Sunday, March 22nd, 2009

This article explains three techniques for generating primary keys when using Hibernate and Oracle.

[View Post]

Spring 3.0 Quartz Batch With Maven2

Posted by Timothy Myer on Sunday, March 1st, 2009

The purpose of this entry is to provide a short tutorial for setting up a Maven2 project that uses Spring 3.0 to schedule a Quartz batch job, to inject Spring-managed beans into this Quartz-managed job, to use Spring to test the job, and to setup a distributable, runnable assembly for the project.

[View Post]