0

I have some data selected from database and cached in memory.I use them quite frequently.But sometimes I need to update this data,and I don't want to stop the server.Is there any available solutions for this?

1 Answers1

0

You could use a DB cache (Try using Ehcache, it supports JDBC caching).

Or provide some external interface that you can send a message to, to tell you app to update from the DB.

Scary Wombat
  • 44,617
  • 6
  • 35
  • 64