myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <>
Subject Re: Conversation Scope in JSF 2.0
Date Wed, 16 May 2012 08:51:31 GMT
> Because of that, we're now in the process of switching to CODI that it's 
> fully serializable, and allows the session to be persisted/distributed.

Yes, but please be aware that the EntityManager is still NOT Serializable! Even if some JPA
providers claim it, they will loose state on serialisation!

I triggered a discussion on the JPA EG regarding this. See

It's really annoying that JPA is still borked even after so many years :/ Feel free to vote
for the spec issue as it seems that this still will be ignored because of political reasons
(the different JPA vendors basically do not agree how to solve this best).


----- Original Message -----
> From: "Freire, Jose Luis (PT - Lisbon)" <>
> To: MyFaces Discussion <>
> Cc: 
> Sent: Wednesday, May 16, 2012 10:34 AM
> Subject: RE: Conversation Scope in JSF 2.0
> MyFaces Orchestra doesn't support session persistence because the 
> conversation object isn't serializable, and will not work in a cluster 
> environment.
> According to the official page (, 
> see Limitations) "there is still some work to be done".
> Because of that, we're now in the process of switching to CODI that it's 
> fully serializable, and allows the session to be persisted/distributed.
> -----Original Message-----
> From: tclam []
> Sent: quarta-feira, 16 de Maio de 2012 02:49
> To:
> Subject: Conversation Scope in JSF 2.0
> I am trying to implement conversation scope in backing bean of JSF for our 
> application. At first, I am trying to use MyFaces Orchestra. It seems to work 
> well. However, I am concerning the case when the application deployed in cluster 
> environment and during session replication. I don't know if MyFaces CODI 
> with OpenWebBean is a better choice.
> I have two questions to ask:
> (1) Does MyFaces Orchestra works well in cluster environment? Will the 
> conversation maintains after session replication?
> (2) Does MyFaces CODI have any issues when deployed in cluster environment?
> I cannot found any information about this in its document.
> --
> View this message in context: 
> Sent from the MyFaces - Users mailing list archive at
> *Disclaimer:*
> Deloitte refers to one or more of Deloitte Touche Tohmatsu Limited, a UK private 
> company limited by guarantee, and its network of member firms, each of which is 
> a legally separate and independent entity. Please see for 
> a detailed description of the legal structure of Deloitte Touche Tohmatsu 
> Limited and its member firms.
> Privileged/Confidential Information may be contained in this message. If you are 
> not the addressee indicated in this message (or responsible for delivery of the 
> message to such person), you may not copy or deliver this message to anyone. In 
> such case, you should destroy this message and kindly notify the sender by reply 
> email. Please advise immediately if you or your employer do not consent to 
> Internet email for messages of this kind. Opinions, conclusions and other 
> information in this message that do not relate to the official business of my 
> firm shall be understood as neither given nor endorsed by it.

View raw message