I know that RoboSpice
provides some built-in ObjectPersisters
. Can I use one of them or should I write my own to cache lightweight POJOs?
I tried using the built-in ones, but I got an Exception
that the class I was trying to cache couldn't be handled by any persister, which, I suppose, is due to the fact that the built-in persisters don't know anything about the class that I wrote.