java - using ehcache in a dropwizard project -
i using dropwizard create restful service. avoid hammering database, looking caching solution in java. searching web lead me ehcache. have read documentation bit, not clear me how use ehcache in dropwizard project.
for instance, configuration file go? need me start using cache.
if difficult integrate, suited caching solution dropwizard project?
thanks!
if want simpler (than ehcache) cache framework/api, consider using cachebuidler guava:
https://code.google.com/p/guava-libraries/wiki/cachesexplained
a typical cache implementation , use requires few lines of code , no configuration files.
Comments
Post a Comment