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;
  }
}
@@ -11,16 +11,18 @@
 ample;%0A%0A
+//
 import j
@@ -41,16 +41,18 @@
 teless;%0A
+//
 import j
@@ -82,16 +82,18 @@
 ribute;%0A
+//
 import s
@@ -189,16 +189,18 @@
 an.%0A */%0A
+//
 @Statele
@@ -202,16 +202,16 @@
 ateless%0A
-
 public c
@@ -341,18 +341,20 @@
 .%0A   */%0A
-
   
+//
 @Transac

Remove annotations to keep the compatibility with java 1.4