Re: AW: Serialization of injected EJBs

2010-07-10 Thread Igor Vaynberg
__ > Von: Igor Vaynberg [igor.vaynb...@gmail.com] > Gesendet: Freitag, 9. Juli 2010 20:03 > An: users@wicket.apache.org > Betreff: Re: AW: Serialization of injected EJBs > > no, the module is for seam 2.1 which does not use weld. > > -igor > > O

Re: AW: Serialization of injected EJBs

2010-07-10 Thread James Carman
The references that are injected are supposed to be serializable per the spec I believe. There is the concept of a 'client proxy" or something like that in the spec that is supposed to be serializable. Anyway, you are welcome to use anything that is useful to you. I haven't worked on it in a whi

AW: Serialization of injected EJBs

2010-07-10 Thread Harald Wellmann
Thanks, I'd seen that before. This code handles CDI injection in Wicket components (which was not the problem as such) and the conversation scope (which I haven't used so far) but as far as I can see it does not address any serialization issues with the injected references. Regards, Harald ___

AW: AW: Serialization of injected EJBs

2010-07-10 Thread Harald Wellmann
. Regards, Harald Von: Igor Vaynberg [igor.vaynb...@gmail.com] Gesendet: Freitag, 9. Juli 2010 20:03 An: users@wicket.apache.org Betreff: Re: AW: Serialization of injected EJBs no, the module is for seam 2.1 which does not use weld. -igor On Fri, Jul 9, 201

Re: AW: Serialization of injected EJBs

2010-07-09 Thread Igor Vaynberg
t; Von: Igor Vaynberg [igor.vaynb...@gmail.com] > Gesendet: Freitag, 9. Juli 2010 18:06 > An: users@wicket.apache.org > Betreff: Re: AW: Serialization of injected EJBs > > well, i recently wrote a wicket-ioc module for seam and it took

AW: AW: Serialization of injected EJBs

2010-07-09 Thread Harald Wellmann
And Seam uses CDI/Weld, right? So your module might solve my problems... Is it public? Regards, Harald Von: Igor Vaynberg [igor.vaynb...@gmail.com] Gesendet: Freitag, 9. Juli 2010 18:06 An: users@wicket.apache.org Betreff: Re: AW: Serialization of

Re: AW: Serialization of injected EJBs

2010-07-09 Thread Igor Vaynberg
-Ursprüngliche Nachricht- > Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] > Gesendet: Donnerstag, 8. Juli 2010 21:45 > An: users@wicket.apache.org > Betreff: Re: AW: Serialization of injected EJBs > > hrm, if thats the case you can always use wicket-ioc module to build > the

AW: AW: Serialization of injected EJBs

2010-07-09 Thread Harald Wellmann
- Von: kbs [mailto:kbs_kulbhus...@yahoo.com] Gesendet: Freitag, 9. Juli 2010 09:17 An: users@wicket.apache.org Betreff: Re: AW: Serialization of injected EJBs I am not sure if this is related but AFAIR we faced a similar problem with GlassFish V2.1 and determined the root cause of this to

Re: AW: Serialization of injected EJBs

2010-07-09 Thread kbs
I am not sure if this is related but AFAIR we faced a similar problem with GlassFish V2.1 and determined the root cause of this to https://issues.apache.org/jira/browse/WICKET-2416 The exception stack trace may be different in V3 so I am not sure if it is same issue. Regards, Kulbhushan -- View

AW: AW: Serialization of injected EJBs

2010-07-09 Thread Harald Wellmann
implement than waiting for a solution from Glassfish... Best regards, Harald -Ursprüngliche Nachricht- Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Gesendet: Donnerstag, 8. Juli 2010 21:45 An: users@wicket.apache.org Betreff: Re: AW: Serialization of injected EJBs hrm, if thats t

Re: AW: Serialization of injected EJBs

2010-07-08 Thread Igor Vaynberg
) > > Regards, > Harald > > > ________ > Von: Igor Vaynberg [igor.vaynb...@gmail.com] > Gesendet: Donnerstag, 8. Juli 2010 17:54 > An: users@wicket.apache.org > Betreff: Re: AW: Serialization of injected EJBs > > im not s

AW: AW: Serialization of injected EJBs

2010-07-08 Thread Harald Wellmann
stag, 8. Juli 2010 17:54 An: users@wicket.apache.org Betreff: Re: AW: Serialization of injected EJBs im not sure if this is in a CDI spec or not, but afaik Weld will return serializable proxies when you manually inject objects. so that should work out

Re: AW: Serialization of injected EJBs

2010-07-08 Thread Igor Vaynberg
e Nachricht- > Von: Major Péter [mailto:majorpe...@sch.bme.hu] > Gesendet: Mittwoch, 7. Juli 2010 19:43 > An: users@wicket.apache.org > Betreff: Re: AW: Serialization of injected EJBs > > Nope, it does not support CDI. AFAIK @EJB is not deprecated or > old-style, and it'

AW: AW: Serialization of injected EJBs

2010-07-08 Thread Harald Wellmann
] Gesendet: Mittwoch, 7. Juli 2010 19:43 An: users@wicket.apache.org Betreff: Re: AW: Serialization of injected EJBs Nope, it does not support CDI. AFAIK @EJB is not deprecated or old-style, and it's still available in Java EE 6. The thread was about injecting EJB's and JavaEE Inject do

Re: AW: Serialization of injected EJBs

2010-07-07 Thread Major Péter
Nope, it does not support CDI. AFAIK @EJB is not deprecated or old-style, and it's still available in Java EE 6. The thread was about injecting EJB's and JavaEE Inject does exactly that. You can always use lookups for your beans/CDI stuff... Regards, Peter 2010-07-07 19:34 keltezéssel, Harald Wel

AW: Serialization of injected EJBs

2010-07-07 Thread Harald Wellmann
Does javaee-inject support CDI at all? I cannot find any @Inject annotations in the examples you mentioned, they all seem to be in Java EE 5 style, not Java EE 6. Regards, Harald Von: Major Péter [majorpe...@sch.bme.hu] Gesendet: Mittwoch, 7. Juli 2010 1

AW: AW: Serialization of injected EJBs

2010-07-07 Thread Harald Wellmann
entation class is). Regards, Harald -Ursprüngliche Nachricht- Von: Major Péter [mailto:majorpe...@sch.bme.hu] Gesendet: Mittwoch, 7. Juli 2010 17:12 An: users@wicket.apache.org Betreff: Re: AW: Serialization of injected EJBs JavaEE Inject generates a serializable proxy, so the

Re: AW: Serialization of injected EJBs

2010-07-07 Thread Martin Grigorov
On Wed, 2010-07-07 at 17:07 +0200, Harald Wellmann wrote: > Is there any evidence that javaee-inject would solve the problem? The > question is not how to inject the EJBs (this works fine with the wicket-cdi > lib), but how to serialize the injected proxies. Yes, javaee-inject uses wicket-ioc whi

Re: AW: Serialization of injected EJBs

2010-07-07 Thread Major Péter
JavaEE Inject generates a serializable proxy, so the injected references could be stored into session without problem. Peter 2010-07-07 17:07 keltezéssel, Harald Wellmann írta: > Is there any evidence that javaee-inject would solve the problem? The > question is not how to inject the EJBs (this

AW: Serialization of injected EJBs

2010-07-07 Thread Harald Wellmann
Is there any evidence that javaee-inject would solve the problem? The question is not how to inject the EJBs (this works fine with the wicket-cdi lib), but how to serialize the injected proxies. Regards, Harald -Ursprüngliche Nachricht- Von: Major Péter [mailto:majorpe...@sch.bme.hu]