This looks like good option for me.
Thanks
Nils
-Original Message-
From: Martin Kalén [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 5:44 PM
To: OJB Users List
Subject: Re: OJB Listener :: Best practise
Nils Liebelt wrote:
> I need a simple Listener which methods
Nils Liebelt wrote:
I need a simple Listener which methods get called after insert, update and
delete. I just found Listener for Transaction stuff in the API. Any
suggestions?
If it is an option for you to modify your persistence beans, you can
implement
org.apache.ojb.broker.PersistenceBrokerAwar
the man to do with using PB in a managed environment; I'll have to
leave you in his hands for where to add the listeners.
Charles.
-Original Message-
From: Vesely, Max [IT] [mailto:[EMAIL PROTECTED]
Sent: 07 April 2005 14:25
To: OJB Users List
Subject: RE: OJB Listener :: Best practise
Cc: [EMAIL PROTECTED]
Subject: RE: OJB Listener :: Best practise
Here's a quick off the cuff list of steps for listeners that work for both
ODMG & PB, based on what we do here.
a) Create your own persistence broker factory, extending
PersistenceBrokerFactoryDefaultImpl
b) Override createNewB
Here's a quick off the cuff list of steps for listeners that work for both
ODMG & PB, based on what we do here.
a) Create your own persistence broker factory, extending
PersistenceBrokerFactoryDefaultImpl
b) Override createNewBrokerInstance(PBKey key) and add your listener(s)
http://db.apache.or