[announce] Wicket-CDI for Wicket 6.0.0 released

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[announce] Wicket-CDI for Wicket 6.0.0 released

Igor Vaynberg-2
A Wicket 6.0 compatible version of the wicket-cdi module has been
released and is available via Maven. It is also becoming an official
module and will be bundled with Wicket starting with 6.1.0 release.
More details here:

https://www.42lines.net/2012/09/11/status-of-wicket-cdi-module/

-igor

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

Alexander Morozov
Great news! Thanks. I'll wait for 6.1.0 :)
Reply | Threaded
Open this post in threaded view
|

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

Bruno Borges
This is really great Igor, thanks.

I am preparing my slides for my Wicket/Java EE session at JavaOne, and this
just came in perfect time.

I'll update my archetype and some slides to show this and let everyone know
about =)


*Bruno Borges*
(11) 99564-9058
*www.brunoborges.com*



On Wed, Sep 12, 2012 at 12:44 AM, Alexander Morozov <
[hidden email]> wrote:

> Great news! Thanks. I'll wait for 6.1.0 :)
>
>
>
> -----
> --
> http://www.linkedin.com/in/amorozov
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/announce-Wicket-CDI-for-Wicket-6-0-0-released-tp4651924p4651935.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

jeremy@wickettraining.com
On Wed, Sep 12, 2012 at 3:59 PM, Bruno Borges <[hidden email]>wrote:

> This is really great Igor, thanks.
>
> I am preparing my slides for my Wicket/Java EE session at JavaOne, and this
> just came in perfect time.
>
> I'll update my archetype and some slides to show this and let everyone know
> about =)


Will you be posting those slides and archetype somewhere non-attendees can
access when done?

--
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*
Reply | Threaded
Open this post in threaded view
|

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

Bruno Borges
Jeremy, the archetype is already on the Gamboa project repository:

http://github.com/brunoborges/gamboa-project :-)

It's just not up to date

*Bruno Borges*
(11) 99564-9058
*www.brunoborges.com*



On Thu, Sep 13, 2012 at 11:39 AM, Jeremy Thomerson <
[hidden email]> wrote:

> On Wed, Sep 12, 2012 at 3:59 PM, Bruno Borges <[hidden email]
> >wrote:
>
> > This is really great Igor, thanks.
> >
> > I am preparing my slides for my Wicket/Java EE session at JavaOne, and
> this
> > just came in perfect time.
> >
> > I'll update my archetype and some slides to show this and let everyone
> know
> > about =)
>
>
> Will you be posting those slides and archetype somewhere non-attendees can
> access when done?
>
> --
> Jeremy Thomerson
> http://wickettraining.com
> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
>
Reply | Threaded
Open this post in threaded view
|

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

Bruno Borges
Igor, any update on the Serialization issue?

I'm getting the exception again... :-/

# Running on GlassFish 3.1.2.2 / Wicket 6 + wicket-cdi

SEVERE: Error serializing object class code.webapp.pages.Index
[object=[Page class = code.webapp.pages.Index, id = 3, render count = 1]]
org.apache.wicket.core.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
Field hierarchy is:
  3 [class=code.webapp.pages.Index, path=3]
    private code.services.Service code.webapp.pages.Base.service
[class=code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$]
      javassist.util.proxy.MethodHandler
code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$.methodHandler
[class=org.jboss.weld.bean.proxy.ProxyMethodHandler]
        private org.jboss.weld.bean.proxy.BeanInstance
org.jboss.weld.bean.proxy.ProxyMethodHandler.beanInstance
[class=org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance]
          private final javassist.util.proxy.MethodHandler
org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.methodHandler
[class=org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler]
            private final org.jboss.weld.ejb.api.SessionObjectReference
org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.reference
[class=org.glassfish.weld.ejb.SessionObjectReferenceImpl]
              private java.lang.Object
org.glassfish.weld.ejb.SessionObjectReferenceImpl.ejbRef [class=$Proxy149]
                protected java.lang.reflect.InvocationHandler
java.lang.reflect.Proxy.h
[class=com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate]
<----- field that is not serializable
at
org.apache.wicket.core.util.io.SerializableChecker.internalCheck(SerializableChecker.java:411)
at
org.apache.wicket.core.util.io.SerializableChecker.check(SerializableChecker.java:390)



*Bruno Borges*
(11) 99564-9058
*www.brunoborges.com*



On Tue, Sep 18, 2012 at 12:29 AM, Bruno Borges <[hidden email]>wrote:

> Jeremy, the archetype is already on the Gamboa project repository:
>
> http://github.com/brunoborges/gamboa-project :-)
>
> It's just not up to date
>
> *Bruno Borges*
> (11) 99564-9058
> *www.brunoborges.com*
>
>
>
> On Thu, Sep 13, 2012 at 11:39 AM, Jeremy Thomerson <
> [hidden email]> wrote:
>
>> On Wed, Sep 12, 2012 at 3:59 PM, Bruno Borges <[hidden email]
>> >wrote:
>>
>> > This is really great Igor, thanks.
>> >
>> > I am preparing my slides for my Wicket/Java EE session at JavaOne, and
>> this
>> > just came in perfect time.
>> >
>> > I'll update my archetype and some slides to show this and let everyone
>> know
>> > about =)
>>
>>
>> Will you be posting those slides and archetype somewhere non-attendees can
>> access when done?
>>
>> --
>> Jeremy Thomerson
>> http://wickettraining.com
>> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

Igor Vaynberg-2
no update. the cdi spec does not require ejbs to be serializable
because they are not in cdi spec.

if you want to use ejbs inject them into a cdi bean and then inject
that into wicket.

-igor

On Tue, Sep 18, 2012 at 9:56 AM, Bruno Borges <[hidden email]> wrote:

> Igor, any update on the Serialization issue?
>
> I'm getting the exception again... :-/
>
> # Running on GlassFish 3.1.2.2 / Wicket 6 + wicket-cdi
>
> SEVERE: Error serializing object class code.webapp.pages.Index
> [object=[Page class = code.webapp.pages.Index, id = 3, render count = 1]]
> org.apache.wicket.core.util.io.SerializableChecker$WicketNotSerializableException:
> Unable to serialize class:
> com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
> Field hierarchy is:
>   3 [class=code.webapp.pages.Index, path=3]
>     private code.services.Service code.webapp.pages.Base.service
> [class=code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$]
>       javassist.util.proxy.MethodHandler
> code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$.methodHandler
> [class=org.jboss.weld.bean.proxy.ProxyMethodHandler]
>         private org.jboss.weld.bean.proxy.BeanInstance
> org.jboss.weld.bean.proxy.ProxyMethodHandler.beanInstance
> [class=org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance]
>           private final javassist.util.proxy.MethodHandler
> org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.methodHandler
> [class=org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler]
>             private final org.jboss.weld.ejb.api.SessionObjectReference
> org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.reference
> [class=org.glassfish.weld.ejb.SessionObjectReferenceImpl]
>               private java.lang.Object
> org.glassfish.weld.ejb.SessionObjectReferenceImpl.ejbRef [class=$Proxy149]
>                 protected java.lang.reflect.InvocationHandler
> java.lang.reflect.Proxy.h
> [class=com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate]
> <----- field that is not serializable
> at
> org.apache.wicket.core.util.io.SerializableChecker.internalCheck(SerializableChecker.java:411)
> at
> org.apache.wicket.core.util.io.SerializableChecker.check(SerializableChecker.java:390)
>
>
>
> *Bruno Borges*
> (11) 99564-9058
> *www.brunoborges.com*
>
>
>
> On Tue, Sep 18, 2012 at 12:29 AM, Bruno Borges <[hidden email]>wrote:
>
>> Jeremy, the archetype is already on the Gamboa project repository:
>>
>> http://github.com/brunoborges/gamboa-project :-)
>>
>> It's just not up to date
>>
>> *Bruno Borges*
>> (11) 99564-9058
>> *www.brunoborges.com*
>>
>>
>>
>> On Thu, Sep 13, 2012 at 11:39 AM, Jeremy Thomerson <
>> [hidden email]> wrote:
>>
>>> On Wed, Sep 12, 2012 at 3:59 PM, Bruno Borges <[hidden email]
>>> >wrote:
>>>
>>> > This is really great Igor, thanks.
>>> >
>>> > I am preparing my slides for my Wicket/Java EE session at JavaOne, and
>>> this
>>> > just came in perfect time.
>>> >
>>> > I'll update my archetype and some slides to show this and let everyone
>>> know
>>> > about =)
>>>
>>>
>>> Will you be posting those slides and archetype somewhere non-attendees can
>>> access when done?
>>>
>>> --
>>> Jeremy Thomerson
>>> http://wickettraining.com
>>> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
>>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

Bruno Borges
Yeah, that workaround that I wanted to not do... :-)

But okay, thanks!

*Bruno Borges*
(11) 99564-9058
*www.brunoborges.com*



On Tue, Sep 18, 2012 at 2:26 PM, Igor Vaynberg <[hidden email]>wrote:

> no update. the cdi spec does not require ejbs to be serializable
> because they are not in cdi spec.
>
> if you want to use ejbs inject them into a cdi bean and then inject
> that into wicket.
>
> -igor
>
> On Tue, Sep 18, 2012 at 9:56 AM, Bruno Borges <[hidden email]>
> wrote:
> > Igor, any update on the Serialization issue?
> >
> > I'm getting the exception again... :-/
> >
> > # Running on GlassFish 3.1.2.2 / Wicket 6 + wicket-cdi
> >
> > SEVERE: Error serializing object class code.webapp.pages.Index
> > [object=[Page class = code.webapp.pages.Index, id = 3, render count = 1]]
> >
> org.apache.wicket.core.util.io.SerializableChecker$WicketNotSerializableException:
> > Unable to serialize class:
> > com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
> > Field hierarchy is:
> >   3 [class=code.webapp.pages.Index, path=3]
> >     private code.services.Service code.webapp.pages.Base.service
> > [class=code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$]
> >       javassist.util.proxy.MethodHandler
> >
> code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$.methodHandler
> > [class=org.jboss.weld.bean.proxy.ProxyMethodHandler]
> >         private org.jboss.weld.bean.proxy.BeanInstance
> > org.jboss.weld.bean.proxy.ProxyMethodHandler.beanInstance
> > [class=org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance]
> >           private final javassist.util.proxy.MethodHandler
> > org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.methodHandler
> > [class=org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler]
> >             private final org.jboss.weld.ejb.api.SessionObjectReference
> > org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.reference
> > [class=org.glassfish.weld.ejb.SessionObjectReferenceImpl]
> >               private java.lang.Object
> > org.glassfish.weld.ejb.SessionObjectReferenceImpl.ejbRef
> [class=$Proxy149]
> >                 protected java.lang.reflect.InvocationHandler
> > java.lang.reflect.Proxy.h
> > [class=com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate]
> > <----- field that is not serializable
> > at
> >
> org.apache.wicket.core.util.io.SerializableChecker.internalCheck(SerializableChecker.java:411)
> > at
> >
> org.apache.wicket.core.util.io.SerializableChecker.check(SerializableChecker.java:390)
> >
> >
> >
> > *Bruno Borges*
> > (11) 99564-9058
> > *www.brunoborges.com*
> >
> >
> >
> > On Tue, Sep 18, 2012 at 12:29 AM, Bruno Borges <[hidden email]
> >wrote:
> >
> >> Jeremy, the archetype is already on the Gamboa project repository:
> >>
> >> http://github.com/brunoborges/gamboa-project :-)
> >>
> >> It's just not up to date
> >>
> >> *Bruno Borges*
> >> (11) 99564-9058
> >> *www.brunoborges.com*
> >>
> >>
> >>
> >> On Thu, Sep 13, 2012 at 11:39 AM, Jeremy Thomerson <
> >> [hidden email]> wrote:
> >>
> >>> On Wed, Sep 12, 2012 at 3:59 PM, Bruno Borges <[hidden email]
> >>> >wrote:
> >>>
> >>> > This is really great Igor, thanks.
> >>> >
> >>> > I am preparing my slides for my Wicket/Java EE session at JavaOne,
> and
> >>> this
> >>> > just came in perfect time.
> >>> >
> >>> > I'll update my archetype and some slides to show this and let
> everyone
> >>> know
> >>> > about =)
> >>>
> >>>
> >>> Will you be posting those slides and archetype somewhere non-attendees
> can
> >>> access when done?
> >>>
> >>> --
> >>> Jeremy Thomerson
> >>> http://wickettraining.com
> >>> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
> >>>
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

Igor Vaynberg-2
so join the jsr expert group and emphasize the importance of making
EJB proxies serializable :)

On Tue, Sep 18, 2012 at 10:45 AM, Bruno Borges <[hidden email]> wrote:

> Yeah, that workaround that I wanted to not do... :-)
>
> But okay, thanks!
>
> *Bruno Borges*
> (11) 99564-9058
> *www.brunoborges.com*
>
>
>
> On Tue, Sep 18, 2012 at 2:26 PM, Igor Vaynberg <[hidden email]>wrote:
>
>> no update. the cdi spec does not require ejbs to be serializable
>> because they are not in cdi spec.
>>
>> if you want to use ejbs inject them into a cdi bean and then inject
>> that into wicket.
>>
>> -igor
>>
>> On Tue, Sep 18, 2012 at 9:56 AM, Bruno Borges <[hidden email]>
>> wrote:
>> > Igor, any update on the Serialization issue?
>> >
>> > I'm getting the exception again... :-/
>> >
>> > # Running on GlassFish 3.1.2.2 / Wicket 6 + wicket-cdi
>> >
>> > SEVERE: Error serializing object class code.webapp.pages.Index
>> > [object=[Page class = code.webapp.pages.Index, id = 3, render count = 1]]
>> >
>> org.apache.wicket.core.util.io.SerializableChecker$WicketNotSerializableException:
>> > Unable to serialize class:
>> > com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
>> > Field hierarchy is:
>> >   3 [class=code.webapp.pages.Index, path=3]
>> >     private code.services.Service code.webapp.pages.Base.service
>> > [class=code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$]
>> >       javassist.util.proxy.MethodHandler
>> >
>> code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$.methodHandler
>> > [class=org.jboss.weld.bean.proxy.ProxyMethodHandler]
>> >         private org.jboss.weld.bean.proxy.BeanInstance
>> > org.jboss.weld.bean.proxy.ProxyMethodHandler.beanInstance
>> > [class=org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance]
>> >           private final javassist.util.proxy.MethodHandler
>> > org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.methodHandler
>> > [class=org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler]
>> >             private final org.jboss.weld.ejb.api.SessionObjectReference
>> > org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.reference
>> > [class=org.glassfish.weld.ejb.SessionObjectReferenceImpl]
>> >               private java.lang.Object
>> > org.glassfish.weld.ejb.SessionObjectReferenceImpl.ejbRef
>> [class=$Proxy149]
>> >                 protected java.lang.reflect.InvocationHandler
>> > java.lang.reflect.Proxy.h
>> > [class=com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate]
>> > <----- field that is not serializable
>> > at
>> >
>> org.apache.wicket.core.util.io.SerializableChecker.internalCheck(SerializableChecker.java:411)
>> > at
>> >
>> org.apache.wicket.core.util.io.SerializableChecker.check(SerializableChecker.java:390)
>> >
>> >
>> >
>> > *Bruno Borges*
>> > (11) 99564-9058
>> > *www.brunoborges.com*
>> >
>> >
>> >
>> > On Tue, Sep 18, 2012 at 12:29 AM, Bruno Borges <[hidden email]
>> >wrote:
>> >
>> >> Jeremy, the archetype is already on the Gamboa project repository:
>> >>
>> >> http://github.com/brunoborges/gamboa-project :-)
>> >>
>> >> It's just not up to date
>> >>
>> >> *Bruno Borges*
>> >> (11) 99564-9058
>> >> *www.brunoborges.com*
>> >>
>> >>
>> >>
>> >> On Thu, Sep 13, 2012 at 11:39 AM, Jeremy Thomerson <
>> >> [hidden email]> wrote:
>> >>
>> >>> On Wed, Sep 12, 2012 at 3:59 PM, Bruno Borges <[hidden email]
>> >>> >wrote:
>> >>>
>> >>> > This is really great Igor, thanks.
>> >>> >
>> >>> > I am preparing my slides for my Wicket/Java EE session at JavaOne,
>> and
>> >>> this
>> >>> > just came in perfect time.
>> >>> >
>> >>> > I'll update my archetype and some slides to show this and let
>> everyone
>> >>> know
>> >>> > about =)
>> >>>
>> >>>
>> >>> Will you be posting those slides and archetype somewhere non-attendees
>> can
>> >>> access when done?
>> >>>
>> >>> --
>> >>> Jeremy Thomerson
>> >>> http://wickettraining.com
>> >>> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
>> >>>
>> >>
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

Bruno Borges
Why are the CDI proxies serializable and EJB's proxy aren't? Hell...

*Bruno Borges*
(11) 99564-9058
*www.brunoborges.com*



On Tue, Sep 18, 2012 at 2:48 PM, Igor Vaynberg <[hidden email]>wrote:

> so join the jsr expert group and emphasize the importance of making
> EJB proxies serializable :)
>
> On Tue, Sep 18, 2012 at 10:45 AM, Bruno Borges <[hidden email]>
> wrote:
> > Yeah, that workaround that I wanted to not do... :-)
> >
> > But okay, thanks!
> >
> > *Bruno Borges*
> > (11) 99564-9058
> > *www.brunoborges.com*
> >
> >
> >
> > On Tue, Sep 18, 2012 at 2:26 PM, Igor Vaynberg <[hidden email]
> >wrote:
> >
> >> no update. the cdi spec does not require ejbs to be serializable
> >> because they are not in cdi spec.
> >>
> >> if you want to use ejbs inject them into a cdi bean and then inject
> >> that into wicket.
> >>
> >> -igor
> >>
> >> On Tue, Sep 18, 2012 at 9:56 AM, Bruno Borges <[hidden email]>
> >> wrote:
> >> > Igor, any update on the Serialization issue?
> >> >
> >> > I'm getting the exception again... :-/
> >> >
> >> > # Running on GlassFish 3.1.2.2 / Wicket 6 + wicket-cdi
> >> >
> >> > SEVERE: Error serializing object class code.webapp.pages.Index
> >> > [object=[Page class = code.webapp.pages.Index, id = 3, render count =
> 1]]
> >> >
> >>
> org.apache.wicket.core.util.io.SerializableChecker$WicketNotSerializableException:
> >> > Unable to serialize class:
> >> > com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
> >> > Field hierarchy is:
> >> >   3 [class=code.webapp.pages.Index, path=3]
> >> >     private code.services.Service code.webapp.pages.Base.service
> >> >
> [class=code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$]
> >> >       javassist.util.proxy.MethodHandler
> >> >
> >>
> code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$.methodHandler
> >> > [class=org.jboss.weld.bean.proxy.ProxyMethodHandler]
> >> >         private org.jboss.weld.bean.proxy.BeanInstance
> >> > org.jboss.weld.bean.proxy.ProxyMethodHandler.beanInstance
> >> > [class=org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance]
> >> >           private final javassist.util.proxy.MethodHandler
> >> > org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.methodHandler
> >> > [class=org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler]
> >> >             private final
> org.jboss.weld.ejb.api.SessionObjectReference
> >> > org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.reference
> >> > [class=org.glassfish.weld.ejb.SessionObjectReferenceImpl]
> >> >               private java.lang.Object
> >> > org.glassfish.weld.ejb.SessionObjectReferenceImpl.ejbRef
> >> [class=$Proxy149]
> >> >                 protected java.lang.reflect.InvocationHandler
> >> > java.lang.reflect.Proxy.h
> >> > [class=com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate]
> >> > <----- field that is not serializable
> >> > at
> >> >
> >>
> org.apache.wicket.core.util.io.SerializableChecker.internalCheck(SerializableChecker.java:411)
> >> > at
> >> >
> >>
> org.apache.wicket.core.util.io.SerializableChecker.check(SerializableChecker.java:390)
> >> >
> >> >
> >> >
> >> > *Bruno Borges*
> >> > (11) 99564-9058
> >> > *www.brunoborges.com*
> >> >
> >> >
> >> >
> >> > On Tue, Sep 18, 2012 at 12:29 AM, Bruno Borges <
> [hidden email]
> >> >wrote:
> >> >
> >> >> Jeremy, the archetype is already on the Gamboa project repository:
> >> >>
> >> >> http://github.com/brunoborges/gamboa-project :-)
> >> >>
> >> >> It's just not up to date
> >> >>
> >> >> *Bruno Borges*
> >> >> (11) 99564-9058
> >> >> *www.brunoborges.com*
> >> >>
> >> >>
> >> >>
> >> >> On Thu, Sep 13, 2012 at 11:39 AM, Jeremy Thomerson <
> >> >> [hidden email]> wrote:
> >> >>
> >> >>> On Wed, Sep 12, 2012 at 3:59 PM, Bruno Borges <
> [hidden email]
> >> >>> >wrote:
> >> >>>
> >> >>> > This is really great Igor, thanks.
> >> >>> >
> >> >>> > I am preparing my slides for my Wicket/Java EE session at JavaOne,
> >> and
> >> >>> this
> >> >>> > just came in perfect time.
> >> >>> >
> >> >>> > I'll update my archetype and some slides to show this and let
> >> everyone
> >> >>> know
> >> >>> > about =)
> >> >>>
> >> >>>
> >> >>> Will you be posting those slides and archetype somewhere
> non-attendees
> >> can
> >> >>> access when done?
> >> >>>
> >> >>> --
> >> >>> Jeremy Thomerson
> >> >>> http://wickettraining.com
> >> >>> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
> >> >>>
> >> >>
> >> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

Igor Vaynberg-2
cause cdi spec says they have to be and ejb one does not?

-igor

On Tue, Sep 18, 2012 at 10:56 AM, Bruno Borges <[hidden email]> wrote:

> Why are the CDI proxies serializable and EJB's proxy aren't? Hell...
>
> *Bruno Borges*
> (11) 99564-9058
> *www.brunoborges.com*
>
>
>
> On Tue, Sep 18, 2012 at 2:48 PM, Igor Vaynberg <[hidden email]>wrote:
>
>> so join the jsr expert group and emphasize the importance of making
>> EJB proxies serializable :)
>>
>> On Tue, Sep 18, 2012 at 10:45 AM, Bruno Borges <[hidden email]>
>> wrote:
>> > Yeah, that workaround that I wanted to not do... :-)
>> >
>> > But okay, thanks!
>> >
>> > *Bruno Borges*
>> > (11) 99564-9058
>> > *www.brunoborges.com*
>> >
>> >
>> >
>> > On Tue, Sep 18, 2012 at 2:26 PM, Igor Vaynberg <[hidden email]
>> >wrote:
>> >
>> >> no update. the cdi spec does not require ejbs to be serializable
>> >> because they are not in cdi spec.
>> >>
>> >> if you want to use ejbs inject them into a cdi bean and then inject
>> >> that into wicket.
>> >>
>> >> -igor
>> >>
>> >> On Tue, Sep 18, 2012 at 9:56 AM, Bruno Borges <[hidden email]>
>> >> wrote:
>> >> > Igor, any update on the Serialization issue?
>> >> >
>> >> > I'm getting the exception again... :-/
>> >> >
>> >> > # Running on GlassFish 3.1.2.2 / Wicket 6 + wicket-cdi
>> >> >
>> >> > SEVERE: Error serializing object class code.webapp.pages.Index
>> >> > [object=[Page class = code.webapp.pages.Index, id = 3, render count =
>> 1]]
>> >> >
>> >>
>> org.apache.wicket.core.util.io.SerializableChecker$WicketNotSerializableException:
>> >> > Unable to serialize class:
>> >> > com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
>> >> > Field hierarchy is:
>> >> >   3 [class=code.webapp.pages.Index, path=3]
>> >> >     private code.services.Service code.webapp.pages.Base.service
>> >> >
>> [class=code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$]
>> >> >       javassist.util.proxy.MethodHandler
>> >> >
>> >>
>> code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$.methodHandler
>> >> > [class=org.jboss.weld.bean.proxy.ProxyMethodHandler]
>> >> >         private org.jboss.weld.bean.proxy.BeanInstance
>> >> > org.jboss.weld.bean.proxy.ProxyMethodHandler.beanInstance
>> >> > [class=org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance]
>> >> >           private final javassist.util.proxy.MethodHandler
>> >> > org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.methodHandler
>> >> > [class=org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler]
>> >> >             private final
>> org.jboss.weld.ejb.api.SessionObjectReference
>> >> > org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.reference
>> >> > [class=org.glassfish.weld.ejb.SessionObjectReferenceImpl]
>> >> >               private java.lang.Object
>> >> > org.glassfish.weld.ejb.SessionObjectReferenceImpl.ejbRef
>> >> [class=$Proxy149]
>> >> >                 protected java.lang.reflect.InvocationHandler
>> >> > java.lang.reflect.Proxy.h
>> >> > [class=com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate]
>> >> > <----- field that is not serializable
>> >> > at
>> >> >
>> >>
>> org.apache.wicket.core.util.io.SerializableChecker.internalCheck(SerializableChecker.java:411)
>> >> > at
>> >> >
>> >>
>> org.apache.wicket.core.util.io.SerializableChecker.check(SerializableChecker.java:390)
>> >> >
>> >> >
>> >> >
>> >> > *Bruno Borges*
>> >> > (11) 99564-9058
>> >> > *www.brunoborges.com*
>> >> >
>> >> >
>> >> >
>> >> > On Tue, Sep 18, 2012 at 12:29 AM, Bruno Borges <
>> [hidden email]
>> >> >wrote:
>> >> >
>> >> >> Jeremy, the archetype is already on the Gamboa project repository:
>> >> >>
>> >> >> http://github.com/brunoborges/gamboa-project :-)
>> >> >>
>> >> >> It's just not up to date
>> >> >>
>> >> >> *Bruno Borges*
>> >> >> (11) 99564-9058
>> >> >> *www.brunoborges.com*
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Thu, Sep 13, 2012 at 11:39 AM, Jeremy Thomerson <
>> >> >> [hidden email]> wrote:
>> >> >>
>> >> >>> On Wed, Sep 12, 2012 at 3:59 PM, Bruno Borges <
>> [hidden email]
>> >> >>> >wrote:
>> >> >>>
>> >> >>> > This is really great Igor, thanks.
>> >> >>> >
>> >> >>> > I am preparing my slides for my Wicket/Java EE session at JavaOne,
>> >> and
>> >> >>> this
>> >> >>> > just came in perfect time.
>> >> >>> >
>> >> >>> > I'll update my archetype and some slides to show this and let
>> >> everyone
>> >> >>> know
>> >> >>> > about =)
>> >> >>>
>> >> >>>
>> >> >>> Will you be posting those slides and archetype somewhere
>> non-attendees
>> >> can
>> >> >>> access when done?
>> >> >>>
>> >> >>> --
>> >> >>> Jeremy Thomerson
>> >> >>> http://wickettraining.com
>> >> >>> *Need a CMS for Wicket?  Use Brix! http://brixcms.org*
>> >> >>>
>> >> >>
>> >> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [hidden email]
>> >> For additional commands, e-mail: [hidden email]
>> >>
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]