openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <jcar...@carmanconsulting.com>
Subject Re: Proxies are not serializable...
Date Mon, 15 Jun 2009 20:26:10 GMT
I'm looking at it now.  I need to re-read the spec. :)

On Mon, Jun 15, 2009 at 4:24 PM, Gurkan Erdogdu<gurkanerdogdu@yahoo.com> wrote:
> Yes, we will not correctly handle the serialization issues. Its our task
> list.
>
> Actually spec has changed lots after the last draft. We are currently
> working on refactoring the API to reflect last draft that was published a
> couple of days ago. We will rework and reimplement some of the current code
> base.
>
> Help and contribution will be really great :)
>
> Thanks;
>
> --Gurkan
>
> ________________________________
> From: James Carman <james@carmanconsulting.com>
> To: openwebbeans-user@incubator.apache.org
> Sent: Monday, June 15, 2009 10:29:17 PM
> Subject: Proxies are not serializable...
>
> While playing around with Wicket and OWB, I saw this little error in
> my log files (Wicket requires that anything you put on your page is
> serializable):
>
> private java.lang.Object
> org.apache.wicket.model.AbstractPropertyModel.target
> [class=org.wicketstuff.TestBean_$$_javassist_0]
>           private javassist.util.proxy.MethodHandler
> javassist.util.proxy.SerializedProxy.handler
> [class=org.apache.webbeans.intercept.InterceptorHandler]
>             private org.apache.webbeans.component.AbstractComponent
> org.apache.webbeans.intercept.InterceptorHandler.component
> [class=org.apache.webbeans.component.ComponentImpl] <----- field that
> is not serializable
>
> So, basically, the proxy for the bean I'm using isn't serializable
> because ComponentImpl isn't serializable.
>
>

Mime
View raw message