I have a JBoss server running happily with my app, using an hsql db as its data source, and writing back to the database. The browsers connecting via the internet from the far east have very slow connections to the server. So I would like to deploy another server more local to these clients. However, I need to keep the 2 servers synchronised and the database synchronised. Its a bit like a cluster, but with 2 databases too.
I'm not sure how to go about this, whether I can do something with the 2nd level cache, the database.. I would really appreciate anyone pointing me in the right direction - I am rather at a loss as to what is the best solution..