I have an application that has 4 servers total on two different boxes. I need to get a list of data from another system via remote EJB. It is too expensive to call this EJB over and over again. I would like to cache the data, but the data is not static, so if cached I would need to expire the cache on all 4 servers when the data changes. Any suggestions?
I might be able to get away with the flagging the data as expired after an hour. That would help I'm sure. It sounds like there isn't really a great way to do it. I was also considering a view of data in my schema to the other schema, but I would rather not do that.