Memcached with Java Client

Greg Whalin gwhalin at gmail.com
Wed Jul 18 11:39:50 UTC 2007


Yes, you need to serialize your objects, so they need to implement
Serializable or Externalizable.  As to the NPE, could you send me a stack
trace?  Need to know where it is happening to be able to debug.

gw

On 7/18/07, Alexander Shvedov <Alexander.Shvedov at dataart.com> wrote:
>
> But when I implements Serializable to object that are put in cached (and
> also all objects that are in that) the setting in cached is ok, but I
> can not get them from cache. (NullPointerException <but that can be the
> cause>)
>
> -----Original Message-----
> Subject: Re: Memcached with Java Client
>
> > Hello! We're currently looking at memcached to use it in one of our
> > projects. When using java client I always have "can not serialize"
> > message. Do all objects that are putted in memcached needs to be
> > serializable?
>
>
> yes, they all must implement serializable.
>
> Oezcan Acar
> --
> Mit freundlichen Grüßen
>
> ___________________________
>
> Özcan Acar, Dipl. Inf(FH)
> Vorstand
> Smart Web Business AG
>
> Im Niederfeld 8
> 65462 Gustavsburg
>
> +49 171 57 33 66 5
> acar at unitedinter.net
>
>


-- 
Greg Whalin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070718/54a5aa5d/attachment.html


More information about the memcached mailing list