abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Moci <mox...@gmail.com>
Subject Re: java serialization of activities
Date Wed, 14 Mar 2012 11:59:57 GMT
BTW,
I solved adding also implements Serializable to Verb class and marking
ASBase's builder property as transient like this:

private final transient Function<Object[],?> builder;


On Tue, Mar 13, 2012 at 5:12 PM, Matteo Moci <mox601@gmail.com> wrote:
> Hello,
> I don't know the status of the whole abdera project and the abdera2
> branch/refactoring,
> anyway I am just using its activities classes to model the activity
> stream in my application.
>
> I'd like to know if anyone ever had the chance to serialize those
> objects using plain java serialization.
>
> I tried with something like this in the ASBase class (since everyone
> extends it, I think it is enough):
>
> public class ASBase
>  implements Iterable<String>, Cloneable, Serializable {
>
>  private static final long serialVersionUID = 1234L;
>
> Is there something I am missing? Can anyone help with it?
>
> Thanks,
> Matteo
>
>
> --
> Matteo Moci
> http://it.linkedin.com/in/matteomoci
> http://about.me/matteomoci/bio



-- 
Matteo Moci
http://it.linkedin.com/in/matteomoci
http://about.me/matteomoci/bio

Mime
View raw message