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

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

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
Date: 2006-06-22 11:34:56
Message-ID: 449A8060.4080609@logix-tt.com (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-jdbc
Hi, Joost,

Joost Kraaijeveld wrote:

>>> 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?
> No, I did not. As far as I know, I *must* use the Sun JVM for JBoss, and
> I don't know if and how I can mix the GJC and Sun Java environment. Is
> that possible with (almost) no hassle and readme's?

I guess that you want to use CORBA or Java Remote Interface between
PostgreSQL and JBoss, and those should abstract between differend JVMs.

>> And, as an workaround, have an extra bean sitting in the JBoss that
>> LISTENs, and the trigger in SQL simply NOTIFYing it?
> Can you elaborate on that? What do you mean with LISTEN and NOTIFY?

http://www.postgresql.org/docs/8.1/interactive/sql-listen.html
http://www.postgresql.org/docs/8.1/interactive/sql-notify.html

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: Dave CramerDate: 2006-06-22 11:41:26
Subject: Re: [JDBC] How to notify JBoss J2EE application in a trigger or rule???
Previous:From: Joost KraaijeveldDate: 2006-06-22 11:25:19
Subject: Re: [JDBC] How to notify JBoss J2EE application in a trigger or

pgsql-jdbc by date

Next:From: Dave CramerDate: 2006-06-22 11:41:26
Subject: Re: [JDBC] How to notify JBoss J2EE application in a trigger or rule???
Previous:From: Joost KraaijeveldDate: 2006-06-22 11:25:19
Subject: Re: [JDBC] How to notify JBoss J2EE application in a trigger or

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