[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: Using JBossSerialization with HttpSession Replication (J

bstansberry@jboss.com do-not-reply at jboss.com
Mon Aug 28 16:42:01 EDT 2006


For now, I'm not even sure I want this end-user configurable.  I as a developer currently need it configurable so I can easily benchmark the effect of using JBoss Serialization.  Based on those results we can then decide if we want it to be end-user configurable.  But for my temporary purposes configuration via a system property is more than adequate.  So, as we discussed, please do it that way. Go ahead and invent any property you want, just make sure it's prefixed with 'jboss.'

If we later decide we want it to be end-user configurable I'd lean toward #1.  The difficulty with #2 is a JBossCacheManager isn't a regularly deployed MBean service where you can dependency inject.  The dependency injection would be to the Tomcat service, and TomcatDeployer would then have to programmatically pass it into the JBossCacheManager.  I'd prefer not to do that, as 1) it makes Tomcat service more brittle by adding a dependency that's only needed for a specialized case and 2) it further couples the deployer and the manager.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967922#3967922

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967922



More information about the jboss-dev-forums mailing list