Hello,

I need some help with issuing notifications when an EntityBean's state
changes.  Currently, I use JMS Topics to publish messages from an
EntityBean when it changes.  Within the bean, I keep a dirty flag and in
ejbStore publish a message if the bean is dirty.  I'm not sure this is
the best approach.

Ideally, I think, the notification should be issued when a transaction
that has changed the state of a bean commits.  A dirty flag can easily
track state changes.  Is there a way for the entity bean to know when a
transaction commits?

Thanks,
Vidur

PS.  If possible, please also cc me


Reply via email to