This can be done with instance callbacks. Please refer to: http://jakarta.apache.org/ojb/tutorial3.html#instance%20callbacks
You can put your messaging code into the method afterStore(). cheers, Thomas > -----Urspr�ngliche Nachricht----- > Von: Ryan Marsh [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 27. August 2002 23:02 > An: OJB Users List > Betreff: Change notification > > > If I'd like change notification whenever an entity of a given type is > changed/stored in OJB what would be the best practice? > > I would like my application clients to be updated dynamically when a > WorkOrder object is changed (stored actually) by another instance. I > figure that I could fire off a JMS message and have the clients listen > to a JMS topic, but where would this message be fired from? > > Thanks, > -ryan > -- > Humans are the unfortunate result of a local maximum in the > fitness landscape. > > www.ryanmarsh.com > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
