Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-19 Thread José Luis Cetina
Ok Romain. Im not sure if is tomee issue of msm issue, but i will send you a mail with the info to the tomee mailing list. 2013/10/20 Romain Manni-Bucau > Hi > > Tomcat/tomee session replication; memcached and custom session manager > (hazelcast) solutions are different. > > Typically in some o

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-19 Thread Romain Manni-Bucau
Hi Tomcat/tomee session replication; memcached and custom session manager (hazelcast) solutions are different. Typically in some of them you accept SPoF, not in others. The perf are not the same too. Finally guarantees (synchronous or not persistence) can be different too. Mark info were consist

Re: [OT but still JSF]: Clustering, session replication, and database, too

2013-10-19 Thread José Luis Cetina
I have a early experience with a "mini cluster" 2 servers using tomee + memcached for session replication+ sticky session but using 1 only server for database (i mean i dont use db replication). My jsf apps (ear) are running in this mini cluster everithyng works fine except when i shutdown tomee fo

[OT but still JSF]: Clustering, session replication, and database, too

2013-10-19 Thread Howard W. Smith, Jr.
I had a question or two, since I have been reading "Java Summit - Pitfalls in EE"[1] provided by Mark Struberg while having a discussion on tomee user list. The following page stated the following: Page 134 Clustering * We use 'asymmetric clustering' * use sticky sessions * backup away the sessi

Re: [MyFaces 2.2] invoke @PreDestroy on (CDI) ViewScoped beans upon session expiration

2013-10-19 Thread Howard W. Smith, Jr.
On Fri, Oct 18, 2013 at 6:01 PM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > Based on these test results, @PreDestroy of MyFaces 2.2 CDI @ViewScoped > bean is executed via session invalidation and expiration. :) > > Great work and thank you, Leonardo, Gerhard, and MyFaces team! :) > W