oracle - Notifying DB change across Java EE apps -


i have web-app communicating ejb service retrieve data , show clients.

the db both web-app , ejb service different. cache whatever data retrieve ejb service using ehcache in web-app. now, whenever data being served ejb service changes @ db( oracle) level cache in web-app needs notified.

is there anyway cache can receive such notifications , refresh new data?

make 1 listener notified whenever receive data ejb, make use of observer design pattern or via jms. , in listener can reload particular element inside ehcache.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -