Skip site navigation (1) Skip section navigation (2)

Re: [JDBC] How to notify JBoss J2EE application in a trigger or rule???

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: Joost Kraaijeveld <J(dot)Kraaijeveld(at)Askesis(dot)nl>
Cc: pgsql-jdbc(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [JDBC] How to notify JBoss J2EE application in a trigger or rule???
Date: 2006-06-22 11:04:21
Message-ID: 449A7935.4090406@logix-tt.com (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-jdbc
Hi, Hoost,

Joost Kraaijeveld wrote:

> I want a PostgreSQL trigger or rule that notifies a JBoss deployed J2EE
> application of a certain event. 
> 
> I was hoping that pljava would work, but for some -yet unknown to me-
> reason, it does not work on my Debian AMD64 with Sun 1.5.0-7 JVM.
> 
> Does anyone have an (working???) example or a pointer to an example of
> how to do this? 

Hmm, did you try the GCJ-based pljava variant?

And, as an workaround, have an extra bean sitting in the JBoss that
LISTENs, and the trigger in SQL simply NOTIFYing it?

HTH,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org

In response to

Responses

pgsql-interfaces by date

Next:From: Joost KraaijeveldDate: 2006-06-22 11:09:49
Subject: Re: [JDBC] How to notify JBoss J2EE application in a trigger or
Previous:From: Joost KraaijeveldDate: 2006-06-22 10:59:13
Subject: How to notify JBoss J2EE application in a trigger or rule???

pgsql-jdbc by date

Next:From: Joost KraaijeveldDate: 2006-06-22 11:09:49
Subject: Re: [JDBC] How to notify JBoss J2EE application in a trigger or
Previous:From: Joost KraaijeveldDate: 2006-06-22 10:59:13
Subject: How to notify JBoss J2EE application in a trigger or rule???

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group