package example;

//import javax.ejb.Stateless;
//import javax.ejb.TransactionAttribute;
//import static javax.ejb.TransactionAttributeType.SUPPORTS;

/**
 * Implementation of the Hello bean.
 */
//@Stateless
public class HelloBean implements Hello {
  private String _greeting = "Default Hello";
  
  /**
   * Returns a hello, world string.
   */
  //@TransactionAttribute(SUPPORTS)
  public String hello()
  {
    return _greeting;
  }
}
package example;

import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import static javax.ejb.TransactionAttributeType.SUPPORTS;

/**
 * Implementation of the Hello bean.
 */
@Stateless
public class HelloBean implements Hello {
  private String _greeting = "Default Hello";
  
  /**
   * Returns a hello, world string.
   */
  @TransactionAttribute(SUPPORTS)
  public String hello()
  {
    return _greeting;
  }
}
--- 
+++ 
@@ -1,20 +1,20 @@
 package example;
 
-import javax.ejb.Stateless;
-import javax.ejb.TransactionAttribute;
-import static javax.ejb.TransactionAttributeType.SUPPORTS;
+//import javax.ejb.Stateless;
+//import javax.ejb.TransactionAttribute;
+//import static javax.ejb.TransactionAttributeType.SUPPORTS;
 
 /**
  * Implementation of the Hello bean.
  */
-@Stateless
+//@Stateless
 public class HelloBean implements Hello {
   private String _greeting = "Default Hello";
   
   /**
    * Returns a hello, world string.
    */
-  @TransactionAttribute(SUPPORTS)
+  //@TransactionAttribute(SUPPORTS)
   public String hello()
   {
     return _greeting;
Remove annotations to keep the compatibility with java 1.4

git-svn-id: 6038db50b076e48c7926ed71fd94f8e91be2fbc9@597317 13f79535-47bb-0310-9956-ffa450edef68
