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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-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

Browse pgsql-interfaces by date

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

Browse pgsql-jdbc by date

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