[jboss-dev-forums] [Design of EJB 3.0] - Re:
scott.stark@jboss.org
do-not-reply at jboss.com
Sat Nov 17 17:13:40 EST 2007
"bstansberry at jboss.com" wrote :
| 1) @Clustered.loadBalancePolicy. Specifies an impl of LoadBalancePolicy interface. Default is LoadBalancePolicy.class, i.e. the interface itself, not an impl.
| ...
|
Falling back to hard-coded defaults seems ok, but the code that is setting up the proxy factory should be also getting the full configuration setup based on a container default configuration. I'd rather move away from the injected default annotations to a complete pojo metadata model where the "Stateless Bean" aop domain has a complete specification.
"bstansberry at jboss.com" wrote :
| 2) @CacheConfig.name. Specifies the name of the JBC instance to use to store clustered beans. Default was "jboss.cache:service=EJB3SFSBClusteredCache"; Al's recent changes converted it to "". I prefer "" -- using an ObjectName is too much of an implementation detail to be leaking as a default value.
|
| This change in defaults is breaking deployments of clustered SFSBs, so I'm going to have to add code to figure out what to do when the value is "".
The only thing I can see to do here is to change the default to something like DefaultClusteredCache and expect that the factory bean is configured to alias this correctly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105809#4105809
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105809
More information about the jboss-dev-forums
mailing list