You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by Jan Bernhardt <jb...@talend.com> on 2013/01/14 10:02:25 UTC

Cosole REST Service Client implements Serializable ?

Hi Syncopers,

I'm currently updating syncope console to use new REST Service Interface (with old Spring proxy variant). And since my Eclipse is complaining about a missing serialVersionUID I was wondering why does BaseRestClient implements Serializable?

Is there any need to make the rest client persistent to store in a DB or send it over the wire? I would like to remove implements Serializable since it looks wrong to me, but before I do this, I would like to double check with you, if there is a special reason for this and thus a need to keep this interface.

Best regards.
Jan

RE: Cosole REST Service Client implements Serializable ?

Posted by Jan Bernhardt <jb...@talend.com>.
> -----Original Message-----
> From: Francesco Chicchiriccò [mailto:ilgrosso@apache.org]
> Sent: Montag, 14. Januar 2013 10:05
> To: dev@syncope.apache.org
> Subject: Re: Cosole REST Service Client implements Serializable ?
> 
> On 14/01/2013 10:02, Jan Bernhardt wrote:
> > Hi Syncopers,
> >
> > I'm currently updating syncope console to use new REST Service Interface
> (with old Spring proxy variant). And since my Eclipse is complaining about a
> missing serialVersionUID I was wondering why does BaseRestClient
> implements Serializable?
> >
> > Is there any need to make the rest client persistent to store in a DB or send
> it over the wire? I would like to remove implements Serializable since it looks
> wrong to me, but before I do this, I would like to double check with you, if
> there is a special reason for this and thus a need to keep this interface.
> 
> Hi Jan,
> everything that's part of a Wicket component (like pages, for example) must
> be Serializable.
> 
> Hence, please keep this feature.

OK. Thanks for the info.

> 
> Regards.
> 
> --
> Francesco Chicchiriccò
> 
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~ilgrosso/


Re: Cosole REST Service Client implements Serializable ?

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 14/01/2013 10:02, Jan Bernhardt wrote:
> Hi Syncopers,
>
> I'm currently updating syncope console to use new REST Service Interface (with old Spring proxy variant). And since my Eclipse is complaining about a missing serialVersionUID I was wondering why does BaseRestClient implements Serializable?
>
> Is there any need to make the rest client persistent to store in a DB or send it over the wire? I would like to remove implements Serializable since it looks wrong to me, but before I do this, I would like to double check with you, if there is a special reason for this and thus a need to keep this interface.

Hi Jan,
everything that's part of a Wicket component (like pages, for example) 
must be Serializable.

Hence, please keep this feature.

Regards.

-- 
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/