Hi,
I am trying to configure an EJB3 session bean for clustering. As my cluster partition names are dependent on the deployment, I can not use the @Clustered annotation because this would hardcode the name. So I want to use the jboss.xml file to configure the clustering property. However I can not seem to find documentation for EJB3 on that. All I find is clustering for EJB2.1 session beans but that doesn't seem to apply anymore.
I have also tried to read the deployment descriptor code and figure out how it is done. I ended up with this:
<jboss> <enterprise-beans> <session> <ejb-name>MyBean</ejb-name> <clustered> <partition-name>myPartition</partition-name> </clustered> </session> </enterprise-beans> </jboss>
Okay this is only a problem in EJB-3RC3. It works in RC5.