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
Post a Comment