2

I have the following setup, Client <--> Web <--> Multiple Data Services with Hibernate (in different server) <--> Database

Is this setup possible? (multiple Hibernate instances for single DB). If so if I enable cache at Hibernate side, how the correct data will be retrieved? Because in one of the server the old data might be cached.

1 Answer 1

1

Yes. This is possible. We have an application using the same mechanism. I'm not sure whether hibernates manages a distributed cache (like oracle coherence). But for our application we have implemented a distributed cache to manage this scenario.

Sign up to request clarification or add additional context in comments.

1 Comment

JBoss infinispan supports remote caching. Will try that. Thx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.