JCS: How to access cache in two different applications running in same server

送分小仙女□ 提交于 2019-12-13 07:35:18

问题


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


回答1:


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

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



来源:https://stackoverflow.com/questions/27063605/jcs-how-to-access-cache-in-two-different-applications-running-in-same-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!