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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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



Hi Markus,

On Thu, 2006-06-22 at 13:34 +0200, Markus Schaber wrote:
> 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

Although I am tempted to try a Corba solution as you mentioned in
another post (I am the maintainer (sort of)  of the Cygwin port of MICO,
an ORB), I have a NOTIFY/LISTEN example working and it looks OK.

Thanks,


-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group