1 Reply Latest reply on Nov 16, 2012 4:01 AM by caraldel

    jboss-ejb3.xml with several clustered Beans

    caraldel Newbie

      Hello,

       

      I don't know exactly how can I do this. I create the jboss-ejb3.xml with this configuration:

       

      <?xml version="1.1" encoding="UTF-8"?>

      <jboss xmlns="http://www.jboss.com/xml/ns/javaee"

             xmlns:jee="http://java.sun.com/xml/ns/javaee"

             xmlns:c="urn:clustering:1.0">

          <jee:assembly-descriptor>

              <c:clustering>

                  <jee:ejb-name>DTCBean</jee:ejb-name>

                  <jee:ejb-name>DTMBean</jee:ejb-name>

                  <jee:ejb-name>DDTCBean</jee:ejb-name>

                  <jee:ejb-name>DTCHBean</jee:ejb-name>

                  <c:clustered>true</c:clustered>

              </c:clustering>

          </jee:assembly-descriptor>

      </jboss>

       

      Is it good ? I have this Beans in the same EJB proyect, which one in different package.

       

      Thank you in advance !