On Mon, Apr 28, 2008 at 3:15 AM, Daniel Fernández Garrido
<[EMAIL PROTECTED]> wrote:
>  The problem here is that, in a Serializable class (the page), you are
>  declaring a non-serializable attribute (the service). Service interfaces are
>  not serializable (normally), and thus they should be declared as "transient"
>  here, and provide a way to recover the object after page serialization.
>
>  Of course, the SpringBean annotation does this for you... because it injects
>  a Serializable proxy in between the page and the service. Here comes the
>  magic. So, it works perfectly... but it is formally incorrect. A
>  non-serializable attribute of a serializable class, made serializable
>  under-the-scenes by a proxy... my IDE would not like that ;)

so your IDE also doesnt like any List attributes in the page? List
does not extend Serializable... anyways, you guys are more then
welcome to use any approach you like, @springbean is just an option we
provide.

-igor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to