[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Christian Bauer christian at hibernate.org
Fri May 4 05:29:20 EDT 2007


  User: cbauer  
  Date: 07/05/04 05:29:20

  Modified:    doc/reference/en/modules  annotations.xml
  Log:
  Three questions in three days... why oh why was this added...
  
  Revision  Changes    Path
  1.58      +4 -1      jboss-seam/doc/reference/en/modules/annotations.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: annotations.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/annotations.xml,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -b -r1.57 -r1.58
  --- annotations.xml	22 Mar 2007 02:24:14 -0000	1.57
  +++ annotations.xml	4 May 2007 09:29:20 -0000	1.58
  @@ -762,12 +762,15 @@
                           default behavior of a session bean component. ie. method invocations should take place in a
                           transaction, and if no transaction exists when the method is called, a transaction will be
                           started just for that method. This annotation may be applied at either class or method level.
  +                       <emphasis>Do not use this annotations on EJB 3.0 components, use <literal>@TransactionAttribute</literal>!</emphasis>
                       </para>
                   </listitem>
               </varlistentry>
           </variablelist>
   
  -        <para> Seam applications usually use the standard EJB3 annotations for all other transaction demarcation needs.
  +        <para>
  +           These annotations are mostly useful for JavaBean Seam components. If you use EJB 3.0 components, you
  +           should use the standard <literal>@TransactionAttribute</literal> annotation.
           </para>
       </section>
   
  
  
  



More information about the jboss-cvs-commits mailing list