1 22 package org.jboss.ejb3.test.asynchronous; 23 24 import javax.ejb.Stateless ; 25 import javax.ejb.Remote ; 26 import javax.ejb.Local ; 27 28 32 @Stateless  33 @Local (StatelessLocal.class) 34 @Remote (StatelessRemote.class) 35 public class StatelessBean implements StatelessRemote, StatelessLocal 36 { 37 public int method(int i) 38 { 39 System.out.println("method(" + i + ")"); 40 return i; 41 } 42 43 public String checkedMethod(String s) 44 { 45 System.out.println("checkedMethod"); 46 return s; 47 } 48 } 49 | Popular Tags |