PrepAway - Latest Free Exam Questions & Answers

You have generated a new extension based on the ywebservices template.

You have generated a new extension based on the ywebservices template. You have enabled server-side caching.

How would you annotate your method to take advantage of caching?

A. Add a @CacheControl annotation with the value attribute equal to your cache name and a custom key defined using SpEL.

B. Add a @Caching annotation with the value attribute equal to your cache name.

C. Add a @CacheControl annotation with the value attribute equal to your cache name.

D. Add a @Cacheable annotation with the value attribute equal to your cache name and a custom key defined using SpEL.

Reference: https://answers.sap.com/questions/13183809/how-can-i-annotate-the-method-to-take-advantage-of.html


Leave a Reply

Your email address will not be published. Required fields are marked *