User: jwalters
  Date: 01/05/25 06:06:38

  Modified:    src/docs howtomdb.xml
  Log:
  Fix 2 bugs in MDB deployment descriptor, wrong bean name and unsupported
  transaction attribute.
  
  Revision  Changes    Path
  1.5       +4 -4      manual/src/docs/howtomdb.xml
  
  Index: howtomdb.xml
  ===================================================================
  RCS file: /cvsroot/jboss/manual/src/docs/howtomdb.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- howtomdb.xml      2001/05/09 19:30:48     1.4
  +++ howtomdb.xml      2001/05/25 13:06:38     1.5
  @@ -216,7 +216,7 @@
       }
   } 
   ]]></programlisting>
  -                     <para>To deploy this into JBoss we will have to write two 
deployment descriptors. One standard ejb-jar and one that is JBoss specific. We will 
chose to make this bean a Topic subscriber. Since we do not do anything we could 
typically chose to use container managed transaction with NotRequired (although this 
would in most cases not be the best thing to do)</para>
  +                     <para>To deploy this into JBoss we will have to write two 
deployment descriptors. One standard ejb-jar and one that is JBoss specific. We will 
chose to make this bean a Topic subscriber. Since we do not do anything we could 
typically chose to use container managed transaction with NotSupported(although this 
would in most cases not be the best thing to do)</para>
                        <programlisting><![CDATA[
        <?xml version="1.0"?>
        <!DOCTYPE ejb-jar>
  @@ -236,10 +236,10 @@
          <assembly-descriptor>
            <container-transaction>
              <method>
  -             <ejb-name>DurableTopicBean</ejb-name>
  +             <ejb-name>MDB</ejb-name>
                <method-name>*</method-name>
              </method>
  -           <trans-attribute>NotRequired</trans-attribute>
  +           <trans-attribute>NotSupported</trans-attribute>
            </container-transaction>
          </assembly-descriptor>
        </ejb-jar>
  @@ -913,4 +913,4 @@
                        </section>
                </section>
        </section>
  -</chapter>
  \ No newline at end of file
  +</chapter>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to