The problem statement is mentioned here:http://stackoverflow.com/questions/8615408/postgresql-triggers-defining-a-global-resource-java
I am looking for the "best" solution to that problem.
Thanks,Aman