Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CacheAccess instead of Cache Service?

Hi all!

does anybody know how to use the CacheAccess for objects caching instead of out of date Cache Service?

Currently we are using Cache Service (com.sapportals.portal.prt.service.cache.ICacheService) for cross session and cross component object caching in our xApp application, but suddenly we identified some problems with Cache Service under load. It crashed because inner architecture is not thread safe.

And what is more this code is not supported anymore and kept for EP 5.0 compatibility only.

We have recommendations to use JCache (com.sap.ip.basecomps.cache.CacheAccess) instead Cache Service, but we found only java docs for this api .

Does anybody have an example of JCache using for objects caching and any recommendations/issues regarding this API?

Also it would be helpful if anybody know about some other available storage for cross component/session object caching.

Thanks in advance!

Yauheni.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question