-
1. Re: Web Application Scope Clustering
brian.stansberry Feb 25, 2006 11:58 PM (in response to treespace)No, the ServletContext isn't replicated. This is an interesting idea though. Interface ServletContextAttributeListener makes it possible to register for notifications of attribute changes, which would allow replication.
Can you open a JIRA feature request for this? http://jira.jboss.com -
2. Re: Web Application Scope Clustering
treespace Feb 26, 2006 1:45 PM (in response to treespace)http://jira.jboss.com/jira/browse/JBCLUSTER-86
I can use MagicBean for all application scope variables and since it will be distributed my application scope will be distributed.
The ServletContextAttributeListener will allow me to vacuum up and distribute servlet context objects but MagicBean-aware applications would not need that level of generalization. I can insist that cluster-aware apps use the instance of MagicBean in the local ServletContext. -
3. Re: Web Application Scope Clustering
brian.stansberry Feb 28, 2006 12:23 AM (in response to treespace)OK, I'll bite -- what's MagicBean? A 30 second google search didn't give me an answer.