JCache with Oracle Coherence

走远了吗. 提交于 2019-12-11 08:02:21

问题


Oracle Coherence states that it is "JCache-compliant". How can I take my code written against JSR-107, specifically the ehcache-jcache jar, and run it against Oracle Coherence?


回答1:


Final JCache APIs are expected to be released in summer/fall 2013. Then you can expect to see those final APIs supported in Coherence.

Update (14 February 2014) - As soon as we check off some legal check-boxes, the APIs & RI & TCK are all ready to be submitted for approval, and the next version of Coherence (version 12.1.3) will include & support the final APIs.

Update (11 July 2014) - The JCache standard is done and out, and Coherence now officially supports the JCache standard; see the documentation at: http://docs.oracle.com/middleware/1213/coherence/develop-applications/jcache_part.htm

For the sake of full disclosure, I work at Oracle. The opinions and views expressed in this post are my own, and do not necessarily reflect the opinions or views of my employer.




回答2:


The ehcache-jcache jar is a specific implementation of JSR-107. Coherence is not binary compatible with that implementation. Coherence is compliant with the interfaces specified in JSR-107 but provides its own implementation.

Coherence offers a huge number of features beyond JSR-107, so it would be overkill to use it just for JSR-107.



来源:https://stackoverflow.com/questions/3369638/jcache-with-oracle-coherence

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