JCS:如何访问在同一服务器上运行的两个不同应用程序中的缓存 [英] JCS: How to access cache in two different applications running in same server

查看:99
本文介绍了JCS:如何访问在同一服务器上运行的两个不同应用程序中的缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

jcs:我有两个在Glassfish中运行的应用程序.如何将存储在一个应用程序中的缓存检索到另一个应用程序

jcs: I have two applications running in Glassfish. How do I retrieve cache stored in one application to another application

推荐答案

您可以使用具有相同坐标(配置)的共享辅助区域缓存(磁盘,jdbc,横向).

You could use a shared auxiliary region cache (disk, jdbc, lateral) with the same coordinates (configs).

应用程序B的缓存元素在您检查或从共享缓存中获取时将在应用程序B上可用.

Cache elements from application A will be available on application B when you check it or get it from shared cache.

http://commons.apache.org/proper/commons-jcs/JCSPlugins.html

这篇关于JCS:如何访问在同一服务器上运行的两个不同应用程序中的缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆