On Mar 10, 6:29 pm, roadt <[email protected]> wrote: > > Spymemcached requires Java 1.5. > > I believe the Whalin client may still work for > > 1.4.http://www.whalin.com/memcached/ > > Thanks your answer Ray. > > I'll try the Whalin client. Meanwhile, spymemcached is famous java > memcached, > is any possible to use the spy memcached cache under jdk1.4?
It'd take some work, and I'm not completely sure I'd trust it. Java 5 is officially 5 years old this year. :) Importantly, though, is that there are a few things it did that I use here: * Concurrent utilities (which have backports). * Generics (which do not) * New for loop (also no equivalent) * Memory model improvements to improve correctness in concurrent code You could work through the first three and probably be alright. I don't think I directly depend on the JMM improvements (I converted a lot of my code over to the java.util.concurrent stuff even where I'd done my own latch equivalents with synchronization). As Ray said, you could certain try it, though. :)
