openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: Forcing Bean passivation and activation
Date Fri, 22 Nov 2013 20:57:00 GMT
@mark:
that isn't the (default) case with mojarra and it changed with jsf 2.2
officially (see [1]).

regards,
gerhard

[1] https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1127



2013/11/22 Mark Struberg <struberg@yahoo.de>

>
>
> depends what scope those beans have.
> You would need to serialize the underlying context.
>
> The easiest way to force serialization is to use @ViewScoped from CODI or
> DeltaSpike together with Apache MyFaces. Those beans will get serialized
> after each and every request as per the JSF spec ;)
>
> LieGrue,
> strub
>
>
>
>
>
> >________________________________
> > From: Lars-Fredrik Smedberg <itsmeden@gmail.com>
> >To: user@openwebbeans.apache.org
> >Sent: Friday, 22 November 2013, 20:06
> >Subject: Forcing Bean passivation and activation
> >
> >
> >
> >Hi!
> >
> >Is there any way I can force Bean passivation followed by activation (in
> a test case)?
> >
> >
> >Regards
> >Lars-Fredrik Smedberg
> >
> >
> >--
> >Med vänlig hälsning / Best regards
> >
> >Lars-Fredrik Smedberg
> >
> >STATEMENT OF CONFIDENTIALITY:
> >The information contained in this electronic message and any
> >attachments to this message are intended for the exclusive use of the
> >address(es) and may contain confidential or privileged information. If
> >you are not the intended recipient, please notify Lars-Fredrik Smedberg
> >immediately at itsmeden@gmail.com, and destroy all copies of this
> >message and any attachments.
> >
> >
>

Mime
View raw message