Tag: coherence cache with servlet

Hi All, in past i have written one article regarding oracle coherence cache and its simple implementation. from past couple of months we are implementing coherence in our project and i thought to put its implementation here, so lets start with the topic. lets create a database table as below

Once we are done with the insertion of data to database and cache, now its time to fetch the data either from database or cache. here the logic is if data is available in cache the controller pull data from cache if not it will pull from database and also update cache with the latest data so that next time it will from cache but not from database.

Hello all now then i was posted on to one of the projects in my organization which deals with large amount of data in the financial sector so the project has to be scaled in its performance and we started using “Oracle Coherence” as in memory cache, now in this post i want to discuss a small scenario how to install “Oracle Coherence R12” and use it.

What is Oracle Coherence ?
Oracle Coherence is the industry leading in-memory data grid solution that enables organizations to predictably scale mission-critical applications by providing fast access to frequently used data. As data volumes and customer expectations increase, driven by the “internet of things”, social, mobile, cloud and always-connected devices, so does the need to handle more data in real-time, offload over-burdened shared data services and provide availability guarantees.

Before starting this tutorial, you should:
1.Have access to or have installed the following software:

Step2:The Dynamic Runtime Module version automatically updates to 2.5 and the Configuration is set to Default Configuration for Oracle WebLogic Server 10gR3.No further configuration is needed. Click Finish.

Step3:the project structure should look as below.

Now its time to write the configuration and logic:
coherence-config.xml