pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Cc: pgsql-jdbc@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [JDBC] How to notify JBoss J2EE application in a trigger or rule???
Date: Thu, 22 Jun 2006 13:04:21 +0200
Message-ID: <449A7935.4090406@logix-tt.com> (raw)
In-Reply-To: <1150973953.6071.20.camel@localhost>
References: <1150973953.6071.20.camel@localhost>

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



view thread (8+ messages)  latest in thread

Message-ID: <449A7935.4090406@logix-tt.com>
Permalink:  ../449A7935.4090406@logix-tt.com/
Also on:    postgresql.org/message-id/449A7935.4090406@logix-tt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: schabi@logix-tt.com, J.Kraaijeveld@Askesis.nl, pgsql-jdbc@postgresql.org
  Subject: Re: [JDBC] How to notify JBoss J2EE application in a trigger or rule???
  In-Reply-To: <449A7935.4090406@logix-tt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox