I am going to develop a portal application on JBOSS portal 2.7.2. Can you please go through the following scenario and guide me accordingly.
This application should display a report and the data for this report comes from two different databases i.e two independent queries are fired on two different databases. The combination of data that is obtained from the two databases is displayed in the report. We have to query the databases for every 10 mins and should cache the result data( server-side caching). When ever the user requests for a report, then we should display the report by fetching the data from the cache.
Can you please suggest me the best caching mechanism and how to update the cache for every 10 mins over multiple load balancing servers??