0 Replies Latest reply on Oct 9, 2012 3:28 PM by Michael Nielson

    MDB Deployment/Nondeployment in a Cluster

    Michael Nielson Newbie

      I'm in the process of adding server types within my current cluster. My actual deployments for all nodes in my cluster are the same but some nodes are configured (programmatically) for reporting and other nodes for transactional performance. I'd like to disable some MDB's on nodes that are configured for reporting but I'm not sure the best way to do that. The only way I can see now is to isolate the MDB into a separate jar and conditionally deploy that jar. Currently I change a property at startup to tell my node how to behave... I like the simplicity of checking a property.

       

      Is changing my deployment the only sure fire way? Do you know of any reading on how to structure heterogenous deployments?

       

      I remember reading somewhere that I could accomplish the same thing with ejb-jar.xml (still a deployment change, but at least it's small) but I can't seem to figure out how to do that (the mdb's are configured with annotations).

       

      What are recommended ways to handle this?