Are there any advantages and/or disadvantages to using either JCache (JSR 107) or the Memcache API with Google App Engine? If so, what are they?
Are there any advantages and/or disadvantages to using either JCache (JSR 107) or the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using the JCache API as defined by JSR 107 is exactly the same as using the GAE Memcache API. That is, the GAE Memcache API looks and act just like the JCache API in your Java code.
Quoth the docs:
This means that if you’ve already got a Java app that uses JCache, or should you decide to move your app off of App Engine, you can do it without changing any of your Memcache code.