This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
My requirements consist of using ehCache to send and store data via RESTful web service calls. The data can be stored in-memory or via the filesystem...
Never used ehCache before so I am having some issues deciding on which bundle to use.
Have downloaded the following bundles:
(1) What is the difference between the two?
It seems the ehcache-2.6.2 contains src and binaries, which essentially enables one to bundle it with their webapps (by putting the compiled jar or binaries inside the webapp's WEB-INF/lib folder). But it doesn't seem that it has support for Restful web services.
Whereas, ehcache-standalone-server-1.0.0 (comes with an embedded Glassfish server and has support for REST & SOAP) can be used to run as a standalone server. If I my answers to my own question are correct, then that means, I should just use the standalone server?
(2) My requirements are to setup ehCache (with REST support) on Tomcat 7. So, how could I setup ehCache on Tomcat 7 as a separate app with REST & SOAP support?
Joined: Dec 09, 2006
I got the 2 Question fixed by myself...
To integrate with Tomcat, you need to do the following steps:
1. To setup tomcat there's some additional things that need to be done:
2. Download ehcache-server-1.0.0 from (not from ehcache.org/downloads - that file is broken):