Reputation: 11
I have not been able to find any documentation on how to setup an ehCache server embedded inside an existing application. Does anyone know of a way of doing this?
Upvotes: 0
Views: 1142
Reputation: 10357
It is working not as a server but it is simple library. In this case usage is pretty simple: http://www.ehcache.org/documentation/2.8/code-samples.html
All you need - configure ehcache.xml.
Yes, there is also a server, in form of separate web-app. So you can just take this web-app and run on embdeded jetty.
Upvotes: 1